don't assume that we use timer proc with WM_TIMER as we don't any more (since r60296) (closes #10764 for trunk)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-05-09 23:10:20 +00:00
parent 4aa9349437
commit b293b4d364

View File

@@ -565,16 +565,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()