]> git.saurik.com Git - wxWidgets.git/commitdiff
Removed the wonderfully malicious WS_CLIPSIBLINGS style.
authorJulian Smart <julian@anthemion.co.uk>
Sat, 18 Mar 2000 15:50:40 +0000 (15:50 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sat, 18 Mar 2000 15:50:40 +0000 (15:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/window.cpp

index ab88ef00809acbc0c8c3caa60da27fab2713e85b..a011dca8aba618a9aed2cc679ce91bac0e9bc2e1 100644 (file)
@@ -302,7 +302,8 @@ bool wxWindow::Create(wxWindow *parent, wxWindowID id,
     if ( style & wxTHICK_FRAME )
         msflags |= WS_THICKFRAME;
 
-    msflags |= WS_CHILD | WS_CLIPSIBLINGS | WS_VISIBLE;
+    //msflags |= WS_CHILD | WS_CLIPSIBLINGS | WS_VISIBLE;
+    msflags |= WS_CHILD | WS_VISIBLE;
     if ( style & wxCLIP_CHILDREN )
         msflags |= WS_CLIPCHILDREN;
 
@@ -2357,7 +2358,7 @@ bool wxWindow::MSWCreate(int id,
           {
             controlId = id;
             // all child windows should clip their siblings
-            style |= WS_CLIPSIBLINGS;
+            // style |= WS_CLIPSIBLINGS;
           }
 
         wxString className(wclass);