]> git.saurik.com Git - wxWidgets.git/commitdiff
Allow MDI children to have a non-default window style passed down to them. Previousl...
authorGeorge Tasker <gtasker@allenbrook.com>
Tue, 30 Jan 2001 14:14:03 +0000 (14:14 +0000)
committerGeorge Tasker <gtasker@allenbrook.com>
Tue, 30 Jan 2001 14:14:03 +0000 (14:14 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/mdi.cpp

index 502ad620dea46ac465e1d7dc2b3baae934576bda..0250f4c389c6a95b4850f2b9c6102a9c65556801 100644 (file)
@@ -1140,7 +1140,7 @@ bool wxMDIClientWindow::CreateClient(wxMDIParentFrame *parent, long style)
         ccs.hWindowMenu = (HMENU) parent->GetWindowMenu()->GetHMenu();
     ccs.idFirstChild = wxFIRST_MDI_CHILD;
 
-    DWORD msStyle = WS_VISIBLE | WS_CHILD | WS_CLIPCHILDREN;
+    DWORD msStyle = MDIS_ALLCHILDSTYLES | WS_VISIBLE | WS_CHILD | WS_CLIPCHILDREN;
     if ( style & wxHSCROLL )
         msStyle |= WS_HSCROLL;
     if ( style & wxVSCROLL )