]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/statbmp.cpp
install resource files with wxMSW
[wxWidgets.git] / src / msw / statbmp.cpp
index d4a9711d9d0bafc775daa463af576b87d08d1806..07f6dfe1a9cb6ee30a8b148d1f7f754771400b78 100644 (file)
@@ -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);
 }