]> git.saurik.com Git - wxWidgets.git/commitdiff
on wxWinCE don't use some message constants since they're not defined there (closes...
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sat, 2 May 2009 13:09:08 +0000 (13:09 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sat, 2 May 2009 13:09:08 +0000 (13:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/evtloop.cpp

index 0d57104c33524b8aaaaea5249da025af51b69b38..3588564ed55f3f0e663d86502925173eff593837 100644 (file)
@@ -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: