]> git.saurik.com Git - wxWidgets.git/commitdiff
don't assume that we use timer proc with WM_TIMER as we don't any more (since r60296...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 9 May 2009 23:10:20 +0000 (23:10 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 9 May 2009 23:10:20 +0000 (23:10 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/evtloop.cpp

index 3588564ed55f3f0e663d86502925173eff593837..0b6bf66a1a580e8d77774c705e0ad3d2a0206b69 100644 (file)
@@ -565,16 +565,7 @@ void wxConsoleEventLoop::WakeUp()
 
 void wxConsoleEventLoop::ProcessMessage(WXMSG *msg)
 {
 
 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()
 }
 
 bool wxConsoleEventLoop::Dispatch()