X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0a67a93b17c37c018f60e662645ee2a44ba4e58e..a7061e3dc03a356d5286a58bdadae138bf45a96a:/src/mac/mdi.cpp diff --git a/src/mac/mdi.cpp b/src/mac/mdi.cpp index 79197cdecd..b41f8735e8 100644 --- a/src/mac/mdi.cpp +++ b/src/mac/mdi.cpp @@ -17,7 +17,7 @@ #include "wx/menu.h" #include "wx/settings.h" -extern wxList wxModelessWindows; +extern wxWindowList wxModelessWindows; #if !USE_SHARED_LIBRARY IMPLEMENT_DYNAMIC_CLASS(wxMDIParentFrame, wxFrame) @@ -242,7 +242,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;