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