diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-04-18 16:20:38 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-04-18 16:20:38 +0200 |
commit | 244d7da93e252e5d84250a732cbf935e48ab7592 (patch) | |
tree | 386ca6d55b6d6c533f8e377eee34a1781f0e0cad | |
parent | b382c7e3c6645c977cd9a7bf28b639a349d5bbde (diff) |
Do not destroy win32 windows when they are closed by the cross.
-rw-r--r-- | plugingui/nativewindow_win32.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/nativewindow_win32.cc b/plugingui/nativewindow_win32.cc index f2387c7..5214ef0 100644 --- a/plugingui/nativewindow_win32.cc +++ b/plugingui/nativewindow_win32.cc @@ -73,7 +73,7 @@ LRESULT CALLBACK NativeWindowWin32::dialogProc(HWND hwnd, UINT msg, auto closeEvent = std::make_shared<CloseEvent>(); native->event_queue.push_back(closeEvent); } - break; + return 0; // Do not call DefWindowProc for this event. // HWND child, old; // old = 0; |