]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/dialog.cpp
corrected warnings and removed useless extern declaration
[wxWidgets.git] / src / mac / carbon / dialog.cpp
index 755ad0192ad4e19dde011648a22efd999218ba8c..d0bb7b2adcbacfaa93764bfaf546cca42bc49fb6 100644 (file)
@@ -67,6 +67,7 @@ bool wxDialog::Create(wxWindow *parent, wxWindowID id,
        MacCreateRealWindow( title , pos , size , MacRemoveBordersFromStyle(style)  , name ) ;
 
        m_macWindowBackgroundTheme = kThemeBrushDialogBackgroundActive ;
+       SetThemeWindowBackground( (WindowRef) m_macWindow , m_macWindowBackgroundTheme , false ) ;
   return TRUE;
 }