X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dd07a4ce281c3a5739504de802b673a63ae63eb7..5c7fe477625af2c6802f9c4f165ab02a304d109d:/src/msw/evtloop.cpp diff --git a/src/msw/evtloop.cpp b/src/msw/evtloop.cpp index 3588564ed5..6e734bc53f 100644 --- a/src/msw/evtloop.cpp +++ b/src/msw/evtloop.cpp @@ -1,12 +1,12 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: msw/evtloop.cpp +// Name: src/msw/evtloop.cpp // Purpose: implements wxEventLoop for MSW // Author: Vadim Zeitlin // Modified by: // Created: 01.06.01 // RCS-ID: $Id$ // Copyright: (c) 2001 Vadim Zeitlin -// License: wxWindows licence +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -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()