diff options
author | chai <chaifix@163.com> | 2019-04-03 09:00:13 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-04-03 09:00:13 +0800 |
commit | c8a6a8e2dd6f015a31b4f8191ad945a78fe77f3d (patch) | |
tree | 8060458d7aa5e514cdef32f6f92e157221efde4a /source/tests | |
parent | af7bdaa10ee71a319dc55c3c7556fa43a95c9dc9 (diff) |
*misc
Diffstat (limited to 'source/tests')
-rw-r--r-- | source/tests/win32/01-window/03_sub_menu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/tests/win32/01-window/03_sub_menu.cpp b/source/tests/win32/01-window/03_sub_menu.cpp index 58386ac..793b0f6 100644 --- a/source/tests/win32/01-window/03_sub_menu.cpp +++ b/source/tests/win32/01-window/03_sub_menu.cpp @@ -104,7 +104,7 @@ LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, imgdata->Decode(db); img = new Image(); - img->Renew(imgdata); + img->Update(imgdata); wglMakeCurrent(hdc, glc); @@ -112,7 +112,7 @@ LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, file2->Open(File::FILE_MODE_READ); file2->ReadAll(&db); imgdata->Decode(db); - img->Renew(imgdata, {50, 100}); + img->Update(imgdata, {50, 100}); delete imgdata; break; |