- API: Use CloseWindow() to respond to the API Defined WM_SHUTDOWNGFX event just in case CloseWindow() does something more than just send the WM_CLOSE event to the window proc.

This commit is contained in:
Rom Walton 2012-10-25 18:21:34 -04:00 committed by Oliver Bock
parent 962a7ff6bf
commit e3327452e3
2 changed files with 11 additions and 3 deletions

View File

@ -300,12 +300,12 @@ LRESULT CALLBACK WndProc(
case WM_CLOSE:
boinc_close_window_and_quit("WM_CLOSE");
return 0;
case WM_SHUTDOWNGFX:
boinc_close_window_and_quit("WM_SHUTDOWNGFX");
return 0;
case WM_DESTROY:
PostQuitMessage(0);
return 0;
case WM_SHUTDOWNGFX:
CloseWindow(hWnd);
return 0;
case WM_PAINT:
PAINTSTRUCT ps;
RECT winRect;

View File

@ -6369,3 +6369,11 @@ David 24 Oct 2012
html/ops/
db_update.php
Rom 25 Oct 2012
- API: Use CloseWindow() to respond to the API Defined WM_SHUTDOWNGFX event just
in case CloseWindow() does something more than just send the WM_CLOSE event
to the window proc.
api/
graphics2_win.cpp