From f0ded96ffb8bd0af29e269529d00603cd3964f94 Mon Sep 17 00:00:00 2001 From: George Tasker Date: Tue, 30 Jan 2001 14:14:03 +0000 Subject: [PATCH] Allow MDI children to have a non-default window style passed down to them. Previously only default frame styles were possible, even when a valid style was passed. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/mdi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/mdi.cpp b/src/msw/mdi.cpp index 502ad620de..0250f4c389 100644 --- a/src/msw/mdi.cpp +++ b/src/msw/mdi.cpp @@ -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 ) -- 2.47.2