mhm
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@806 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
cd0cce2779
commit
58d6a1e21d
1 changed files with 2 additions and 2 deletions
|
|
@ -201,8 +201,8 @@ static LRESULT CALLBACK wndproc(HWND hWnd, UINT msg, WPARAM wp, LPARAM lp) {
|
||||||
} else if(msg == WM_SETCURSOR) {
|
} else if(msg == WM_SETCURSOR) {
|
||||||
if(LOWORD(lp) != HTCLIENT) return DefWindowProc(hWnd, msg, wp, lp);
|
if(LOWORD(lp) != HTCLIENT) return DefWindowProc(hWnd, msg, wp, lp);
|
||||||
if(u->ll->gdi.cursor != NULL) SetCursor(u->ll->gdi.cursor);
|
if(u->ll->gdi.cursor != NULL) SetCursor(u->ll->gdi.cursor);
|
||||||
} else if(msg == WM_SETICON) {
|
} else if(msg == WM_GETICON) {
|
||||||
return u->ll.gdi.icon;
|
return u->ll->gdi.icon;
|
||||||
} else if(msg == WM_USER) {
|
} else if(msg == WM_USER) {
|
||||||
InvalidateRect(hWnd, NULL, FALSE);
|
InvalidateRect(hWnd, NULL, FALSE);
|
||||||
UpdateWindow(hWnd);
|
UpdateWindow(hWnd);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue