]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/window.cpp
TRUE not true, FALSE not false
[wxWidgets.git] / src / os2 / window.cpp
index 4ab8890da9195b5c9b36bb49a192d794dcfe62fe..96931c33ebe9d7d1d23fdfb42cddf248854743fe 100644 (file)
@@ -2234,6 +2234,8 @@ static void wxYieldForCommandsOnly()
     {
         wxTheApp->DoMessage((WXMSG*)&vMsg);
     }
+    if (vMsg.msg == WM_QUIT)
+        ::WinPostMsg(NULL, WM_QUIT, 0, 0);
 }
 #endif // wxUSE_MENUS_NATIVE