]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/mdi.cpp
wrong directory
[wxWidgets.git] / src / mac / mdi.cpp
index 79197cdecdac5ba29e42bfe0d284d6f07b0d0d23..b41f8735e80e83486d7b2fc17c496e1824da9552 100644 (file)
@@ -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;