don't assume that we use timer proc with WM_TIMER as we don't any more (closes #10764 for 2.9) [backport of r60579 from trunk]

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_9_0_BRANCH@60580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-05-09 23:12:14 +00:00
parent 8d1d23d09a
commit 4120c8c802

View File

@@ -560,16 +560,7 @@ void wxConsoleEventLoop::WakeUp()
void wxConsoleEventLoop::ProcessMessage(WXMSG *msg)
{
if ( msg->message == WM_TIMER )
{
TIMERPROC proc = (TIMERPROC)msg->lParam;
if ( proc )
(*proc)(NULL, 0, msg->wParam, 0);
}
else
{
::DispatchMessage(msg);
}
::DispatchMessage(msg);
}
bool wxConsoleEventLoop::Dispatch()