]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/mdi.cpp
replaced m_isRadioButton with a virtual function
[wxWidgets.git] / src / mac / mdi.cpp
index 024c4fb6c724e0cf4e08223e8c548d08f960b4be..94b0244562d9749805a9fb4bd884b466fdf049ec 100644 (file)
@@ -244,7 +244,8 @@ bool wxMDIChildFrame::Create(wxMDIParentFrame *parent,
 
        MacCreateRealWindow( title, pos , size , MacRemoveBordersFromStyle(style) , name ) ;
   
-         m_macWindowBackgroundTheme = kThemeBrushDocumentWindowBackground ;
+       m_macWindowBackgroundTheme = kThemeBrushDocumentWindowBackground ;
+       SetThemeWindowBackground( (WindowRef) m_macWindow , m_macWindowBackgroundTheme , false ) ;
 
     wxModelessWindows.Append(this);
     return FALSE;