X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0a67a93b17c37c018f60e662645ee2a44ba4e58e..6d9022fe3bb50a75b9b5eaf5cf32558e518ba310:/src/mac/carbon/mdi.cpp?ds=sidebyside diff --git a/src/mac/carbon/mdi.cpp b/src/mac/carbon/mdi.cpp index 79197cdecd..024c4fb6c7 100644 --- a/src/mac/carbon/mdi.cpp +++ b/src/mac/carbon/mdi.cpp @@ -17,7 +17,9 @@ #include "wx/menu.h" #include "wx/settings.h" -extern wxList wxModelessWindows; +#include "wx/mac/private.h" + +extern wxWindowList wxModelessWindows; #if !USE_SHARED_LIBRARY IMPLEMENT_DYNAMIC_CLASS(wxMDIParentFrame, wxFrame) @@ -242,7 +244,7 @@ bool wxMDIChildFrame::Create(wxMDIParentFrame *parent, MacCreateRealWindow( title, pos , size , MacRemoveBordersFromStyle(style) , name ) ; - m_macWindowData->m_macWindowBackgroundTheme = kThemeBrushDocumentWindowBackground ; + m_macWindowBackgroundTheme = kThemeBrushDocumentWindowBackground ; wxModelessWindows.Append(this); return FALSE; @@ -298,7 +300,7 @@ bool wxMDIClientWindow::CreateClient(wxMDIParentFrame *parent, long style) { parent->AddChild(this); } - m_backgroundColour = wxSystemSettings::GetSystemColour(wxSYS_COLOUR_APPWORKSPACE); + m_backgroundColour = wxSystemSettings::GetColour(wxSYS_COLOUR_APPWORKSPACE); wxModelessWindows.Append(this); return TRUE;