X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dd07a4ce281c3a5739504de802b673a63ae63eb7..5778dedc92f6d31435aa1cda6846979a0e9ad35b:/src/msw/evtloop.cpp diff --git a/src/msw/evtloop.cpp b/src/msw/evtloop.cpp index 3588564ed5..6d8ecdd7c2 100644 --- a/src/msw/evtloop.cpp +++ b/src/msw/evtloop.cpp @@ -401,7 +401,7 @@ bool wxGUIEventLoop::YieldFor(long eventsToProcess) if ((eventsToProcess & wxEVT_CATEGORY_UI) == 0) { // this msg is not going to be dispatched... - // however WM_PAINT is special: until there are damaged + // however WM_PAINT is special: until there are damaged // windows, Windows will keep sending it forever! if (nPaintsReceived > 10) { @@ -430,9 +430,9 @@ bool wxGUIEventLoop::YieldFor(long eventsToProcess) switch (msg.message) { #if !defined(__WXWINCE__) - case WM_NCMOUSEMOVE: + case WM_NCMOUSEMOVE: - case WM_NCLBUTTONDOWN: + case WM_NCLBUTTONDOWN: case WM_NCLBUTTONUP: case WM_NCLBUTTONDBLCLK: case WM_NCRBUTTONDOWN: @@ -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()