X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0256cfeb6db72fb570ff043a2cdd214128b3ea2d..c33c81c30f732efcf82d682f82e94aea81878641:/src/os2/app.cpp diff --git a/src/os2/app.cpp b/src/os2/app.cpp index 1e1a4a4456..f6b538d15a 100644 --- a/src/os2/app.cpp +++ b/src/os2/app.cpp @@ -683,7 +683,6 @@ wxApp::wxApp() argc = 0; argv = NULL; m_nPrintMode = wxPRINT_WINDOWS; - m_exitOnFrameDelete = TRUE; m_bAuto3D = TRUE; m_hMq = 0; m_maxSocketHandles = 0; @@ -859,13 +858,13 @@ bool wxApp::ProcessIdle() void wxApp::ExitMainLoop() { - m_bKeepGoing = FALSE; -} + ::WinPostMsg(NULL, WM_QUIT, 0, 0); +} // end of wxApp::ExitMainLoop bool wxApp::Pending() { return (::WinPeekMsg(vHabmain, (PQMSG)&svCurrentMsg, (HWND)NULL, 0, 0, PM_NOREMOVE) != 0); -} +} // end of wxApp::Pending void wxApp::Dispatch() {