X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3210d001bfa045ce765fc241419738b0d7c47799..96f5fca9e4fbdea293199ddca960dabb127e270b:/src/os2/app.cpp diff --git a/src/os2/app.cpp b/src/os2/app.cpp index 46dc757d50..ef18d55511 100644 --- a/src/os2/app.cpp +++ b/src/os2/app.cpp @@ -184,7 +184,7 @@ bool wxApp::RegisterWindowClasses( if (!::WinRegisterClass( vHab ,wxFrameClassName ,(PFNWP)wxWndProc - ,CS_SIZEREDRAW | CS_MOVENOTIFY | CS_SYNCPAINT + ,CS_SIZEREDRAW | CS_MOVENOTIFY | CS_SYNCPAINT | CS_FRAME ,sizeof(ULONG) )) { @@ -651,11 +651,11 @@ int wxApp::MainLoop() #if wxUSE_THREADS wxMutexGuiLeaveOrEnter(); #endif // wxUSE_THREADS - while (!Pending() && ProcessIdle()) - { -// wxUsleep(10000); - } - DoMessage(); + while (!Pending() && ProcessIdle()) + { +// wxUsleep(10000); + } + DoMessage(); } return (int)svCurrentMsg.mp1; } // end of wxApp::MainLoop @@ -761,11 +761,11 @@ bool wxApp::ProcessMessage( // // Anyone for a non-translation message? Try youngest descendants first. // - for (pWnd = pWndThis; pWnd; pWnd = pWnd->GetParent()) - { - if (pWnd->OS2ProcessMessage(pWxmsg)) - return TRUE; - } +// for (pWnd = pWndThis; pWnd; pWnd = pWnd->GetParent()) +// { +// if (pWnd->OS2ProcessMessage(pWxmsg)) +// return TRUE; +// } return FALSE; } // end of wxApp::ProcessMessage