]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/statbmp.cpp
applied patch for compilation with gcc 3.0
[wxWidgets.git] / src / msw / statbmp.cpp
index 7b939e5ec4ad5953dbebb6342c29d7f4ebd1cf72..11b4cd07912ee88d301c839804745270cfd584b1 100644 (file)
@@ -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,