Switched over to using wxEventLoop.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1969,7 +1969,10 @@ static void wxYieldForCommandsOnly()
|
||||
while (::WinPeekMsg(vHabmain, &vMsg, (HWND)0, WM_COMMAND, WM_COMMAND, PM_REMOVE)
|
||||
&& vMsg.msg != WM_QUIT)
|
||||
{
|
||||
wxTheApp->DoMessage((WXMSG*)&vMsg);
|
||||
// luckily (as we don't have access to wxEventLoopImpl method from here
|
||||
// anyhow...) we don't need to pre process WM_COMMANDs so dispatch it
|
||||
// immediately
|
||||
::WinDispatchMsg(vHabmain, &vMsg);
|
||||
}
|
||||
if (vMsg.msg == WM_QUIT)
|
||||
::WinPostMsg(NULL, WM_QUIT, 0, 0);
|
||||
|
Reference in New Issue
Block a user