]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/frame.cpp
added error code for better debugging
[wxWidgets.git] / src / mac / carbon / frame.cpp
index 990ba1a5141cd7315d8768782e9dfbe3dd903d4b..4fe1aec4225396f9198c026dc326e7480315cf14 100644 (file)
@@ -109,6 +109,7 @@ bool wxFrame::Create(wxWindow *parent,
   MacCreateRealWindow( title, pos , size , MacRemoveBordersFromStyle(style) , name ) ;
   
        m_macWindowBackgroundTheme = kThemeBrushDocumentWindowBackground ;
+       SetThemeWindowBackground( (WindowRef) m_macWindow , m_macWindowBackgroundTheme , false ) ;
 
   wxModelessWindows.Append(this);