From dd07a4ce281c3a5739504de802b673a63ae63eb7 Mon Sep 17 00:00:00 2001 From: Francesco Montorsi Date: Sat, 2 May 2009 13:09:08 +0000 Subject: [PATCH] on wxWinCE don't use some message constants since they're not defined there (closes #10759) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/evtloop.cpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/msw/evtloop.cpp b/src/msw/evtloop.cpp index 0d57104c33..3588564ed5 100644 --- a/src/msw/evtloop.cpp +++ b/src/msw/evtloop.cpp @@ -429,8 +429,10 @@ bool wxGUIEventLoop::YieldFor(long eventsToProcess) wxEventCategory cat; switch (msg.message) { - case WM_NCMOUSEMOVE: - case WM_NCLBUTTONDOWN: +#if !defined(__WXWINCE__) + case WM_NCMOUSEMOVE: + + case WM_NCLBUTTONDOWN: case WM_NCLBUTTONUP: case WM_NCLBUTTONDBLCLK: case WM_NCRBUTTONDOWN: @@ -439,6 +441,7 @@ bool wxGUIEventLoop::YieldFor(long eventsToProcess) case WM_NCMBUTTONDOWN: case WM_NCMBUTTONUP: case WM_NCMBUTTONDBLCLK: +#endif case WM_KEYDOWN: case WM_KEYUP: @@ -467,11 +470,13 @@ bool wxGUIEventLoop::YieldFor(long eventsToProcess) case WM_IME_KEYDOWN: case WM_IME_KEYUP: +#if !defined(__WXWINCE__) case WM_MOUSEHOVER: + case WM_MOUSELEAVE: +#endif #ifdef WM_NCMOUSELEAVE case WM_NCMOUSELEAVE: #endif - case WM_MOUSELEAVE: case WM_CUT: case WM_COPY: -- 2.45.2