]> git.saurik.com Git - wxWidgets.git/commitdiff
set the same background colour for wxMDIParentFrame as for wxFrame
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 8 Feb 2006 15:38:20 +0000 (15:38 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 8 Feb 2006 15:38:20 +0000 (15:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/mdi.cpp

index 9beda728dcfe64f97474737e8db4ef52173a59ad..07095b96e76df33c3ac6091f546e6566dda90e4e 100644 (file)
@@ -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;