#include "wx/menu.h"
#include "wx/settings.h"
+#include "wx/mac/private.h"
+
extern wxWindowList wxModelessWindows;
#if !USE_SHARED_LIBRARY
MacCreateRealWindow( title, pos , size , MacRemoveBordersFromStyle(style) , name ) ;
- m_macWindowData->m_macWindowBackgroundTheme = kThemeBrushDocumentWindowBackground ;
+ m_macWindowBackgroundTheme = kThemeBrushDocumentWindowBackground ;
+ SetThemeWindowBackground( (WindowRef) m_macWindow , m_macWindowBackgroundTheme , false ) ;
wxModelessWindows.Append(this);
return FALSE;
{
parent->AddChild(this);
}
- m_backgroundColour = wxSystemSettings::GetSystemColour(wxSYS_COLOUR_APPWORKSPACE);
+ m_backgroundColour = wxSystemSettings::GetColour(wxSYS_COLOUR_APPWORKSPACE);
wxModelessWindows.Append(this);
return TRUE;