X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/65bc172c9776514d64ced1317709202ee4123cd8..8a7b058372986169b14a7fd40b6f2ba564e0ea6a:/src/msw/statbmp.cpp diff --git a/src/msw/statbmp.cpp b/src/msw/statbmp.cpp index 84857d996f..07f6dfe1a9 100644 --- a/src/msw/statbmp.cpp +++ b/src/msw/statbmp.cpp @@ -122,7 +122,7 @@ bool wxStaticBitmap::Create(wxWindow *parent, #else // Win16 _T("BUTTON"), #endif // Win32/16 - _T(""), pos, size) ) + wxEmptyString, pos, size) ) { // control creation failed return FALSE; @@ -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); }