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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user