]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/frame.cpp
drawing methods cleanup
[wxWidgets.git] / src / mac / carbon / frame.cpp
index 1c5f09ba7b41ee597af9c539f8a810186cc1ea42..adc15790af5a511acb22c6768a1ae5fbfcae9e03 100644 (file)
@@ -37,7 +37,7 @@ BEGIN_EVENT_TABLE(wxFrame, wxFrameBase)
 //  EVT_CLOSE(wxFrame::OnCloseWindow)
 END_EVENT_TABLE()
 
-IMPLEMENT_DYNAMIC_CLASS(wxFrame, wxWindow)
+IMPLEMENT_DYNAMIC_CLASS(wxFrame, wxTopLevelWindow)
 #endif
 
 #if wxUSE_NATIVE_STATUSBAR
@@ -108,7 +108,7 @@ bool wxFrame::Create(wxWindow *parent,
 
   MacCreateRealWindow( title, pos , size , MacRemoveBordersFromStyle(style) , name ) ;
   
-       m_macWindowData->m_macWindowBackgroundTheme = kThemeBrushDocumentWindowBackground ;
+       m_macWindowBackgroundTheme = kThemeBrushDocumentWindowBackground ;
 
   wxModelessWindows.Append(this);