]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/mdi.cpp
removing dependancy on mac headers from public wx headers (eventually adding wx/mac...
[wxWidgets.git] / src / mac / mdi.cpp
index f0d2f53138072a7f112915c640fc598f3befde1d..6f7ff1e8051dbb8a180fff3402fb9f80d7a7b3eb 100644 (file)
@@ -17,6 +17,8 @@
 #include "wx/menu.h"
 #include "wx/settings.h"
 
+#include "wx/mac/private.h"
+
 extern wxWindowList wxModelessWindows;
 
 #if !USE_SHARED_LIBRARY
@@ -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;