From 5bee6b2be4521242b065db1a8ce43ce162b0c91e Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 8 Feb 2006 15:38:20 +0000 Subject: [PATCH] set the same background colour for wxMDIParentFrame as for wxFrame git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/mdi.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/msw/mdi.cpp b/src/msw/mdi.cpp index 9beda728dc..07095b96e7 100644 --- a/src/msw/mdi.cpp +++ b/src/msw/mdi.cpp @@ -214,6 +214,8 @@ bool wxMDIParentFrame::Create(wxWindow *parent, return false; } + SetOwnBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_APPWORKSPACE)); + // unlike (almost?) all other windows, frames are created hidden m_isShown = false;