X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/669f7a111f10417afb0b7ad3ead11bab301b20bb..dd107c50be43e8d4dbdba20df162faf119a3781c:/src/msw/statbmp.cpp diff --git a/src/msw/statbmp.cpp b/src/msw/statbmp.cpp index 7b939e5ec4..11b4cd0791 100644 --- a/src/msw/statbmp.cpp +++ b/src/msw/statbmp.cpp @@ -115,12 +115,16 @@ bool wxStaticBitmap::Create(wxWindow *parent, wxWindowID id, int winstyle = BS_OWNERDRAW; #endif // Win32 + if ( m_windowStyle & wxCLIP_SIBLINGS ) + winstyle |= WS_CLIPSIBLINGS; + + m_hWnd = (WXHWND)::CreateWindow ( classname, wxT(""), // NOT DISABLED!!! We want to move it in Dialog Editor. - winstyle | WS_CHILD | WS_VISIBLE, // | WS_DISABLED, + winstyle | WS_CHILD | WS_VISIBLE /* | WS_CLIPSIBLINGS */ , // | WS_DISABLED, 0, 0, 0, 0, (HWND)parent->GetHWND(), (HMENU)m_windowId,