X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fda7962d029672a5f4c718a3c6b2559856f4cd95..8a7b058372986169b14a7fd40b6f2ba564e0ea6a:/src/msw/statbmp.cpp diff --git a/src/msw/statbmp.cpp b/src/msw/statbmp.cpp index d4a9711d9d..07f6dfe1a9 100644 --- a/src/msw/statbmp.cpp +++ b/src/msw/statbmp.cpp @@ -269,10 +269,12 @@ long wxStaticBitmap::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam) { +#ifndef __WXWINCE__ // Ensure that static items get messages. Some controls don't like this // message to be intercepted (e.g. RichEdit), hence the tests. if ( nMsg == WM_NCHITTEST ) return (long)HTCLIENT; +#endif return wxWindow::MSWWindowProc(nMsg, wParam, lParam); }