From: Vadim Zeitlin Date: Wed, 8 Feb 2006 15:38:20 +0000 (+0000) Subject: set the same background colour for wxMDIParentFrame as for wxFrame X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5bee6b2be4521242b065db1a8ce43ce162b0c91e 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 --- 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;