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
This commit is contained in:
Francesco Montorsi
2009-05-02 13:09:08 +00:00
parent 890d70ebea
commit dd07a4ce28

View File

@@ -429,7 +429,9 @@ bool wxGUIEventLoop::YieldFor(long eventsToProcess)
wxEventCategory cat; wxEventCategory cat;
switch (msg.message) switch (msg.message)
{ {
#if !defined(__WXWINCE__)
case WM_NCMOUSEMOVE: case WM_NCMOUSEMOVE:
case WM_NCLBUTTONDOWN: case WM_NCLBUTTONDOWN:
case WM_NCLBUTTONUP: case WM_NCLBUTTONUP:
case WM_NCLBUTTONDBLCLK: case WM_NCLBUTTONDBLCLK:
@@ -439,6 +441,7 @@ bool wxGUIEventLoop::YieldFor(long eventsToProcess)
case WM_NCMBUTTONDOWN: case WM_NCMBUTTONDOWN:
case WM_NCMBUTTONUP: case WM_NCMBUTTONUP:
case WM_NCMBUTTONDBLCLK: case WM_NCMBUTTONDBLCLK:
#endif
case WM_KEYDOWN: case WM_KEYDOWN:
case WM_KEYUP: case WM_KEYUP:
@@ -467,11 +470,13 @@ bool wxGUIEventLoop::YieldFor(long eventsToProcess)
case WM_IME_KEYDOWN: case WM_IME_KEYDOWN:
case WM_IME_KEYUP: case WM_IME_KEYUP:
#if !defined(__WXWINCE__)
case WM_MOUSEHOVER: case WM_MOUSEHOVER:
case WM_MOUSELEAVE:
#endif
#ifdef WM_NCMOUSELEAVE #ifdef WM_NCMOUSELEAVE
case WM_NCMOUSELEAVE: case WM_NCMOUSELEAVE:
#endif #endif
case WM_MOUSELEAVE:
case WM_CUT: case WM_CUT:
case WM_COPY: case WM_COPY: