X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/65b851bbdd84a412bd47aa6ba7b3a7a131473087..4176fb7d0f7f19abcd1ac40e29e9fe107a9e0f6a:/src/os2/app.cpp diff --git a/src/os2/app.cpp b/src/os2/app.cpp index bd4b47a6cf..61d3cdc3c6 100644 --- a/src/os2/app.cpp +++ b/src/os2/app.cpp @@ -787,15 +787,24 @@ bool wxApp::DoMessage() } #endif // wxUSE_THREADS + // // Process the message - if (!ProcessMessage((WXMSG *)&svCurrentMsg)) - { - ::WinDispatchMsg(vHabmain, (PQMSG)&svCurrentMsg); - } + // + DoMessage((WXMSG *)&svCurrentMsg); } return TRUE; } // end of wxApp::DoMessage +void wxApp::DoMessage( + WXMSG* pMsg +) +{ + if (!ProcessMessage((WXMSG *)&svCurrentMsg)) + { + ::WinDispatchMsg(vHabmain, (PQMSG)&svCurrentMsg); + } +} // end of wxApp::DoMessage + ////////////////////////////////////////////////////////////////////////////// // // Keep trying to process messages until WM_QUIT