mirror of https://github.com/BOINC/boinc.git
- 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:
parent
962a7ff6bf
commit
e3327452e3
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue