correctly handle WM_CLOSE
This commit is contained in:
parent
3e32bc0c39
commit
6b6b17a2fb
@ -78,7 +78,7 @@ static LRESULT CALLBACK Win32_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LP
|
|||||||
break;
|
break;
|
||||||
case WM_CLOSE:
|
case WM_CLOSE:
|
||||||
Quit_is_required = 1;
|
Quit_is_required = 1;
|
||||||
break;
|
return 0;
|
||||||
case WM_ERASEBKGND:
|
case WM_ERASEBKGND:
|
||||||
// the background should be erased
|
// the background should be erased
|
||||||
break;
|
break;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user