X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0d53fc3442b92a52dd24a40fee6a201c1b931987..86556aa099d44b170aebbb9b55059b40b1207154:/src/mac/frame.cpp diff --git a/src/mac/frame.cpp b/src/mac/frame.cpp index 1c5f09ba7b..adc15790af 100644 --- a/src/mac/frame.cpp +++ b/src/mac/frame.cpp @@ -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);