background setup correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user