correctly handle WM_CLOSE
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user