X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e40298d54ecd5b109222a7c60aa2ef084a304d69..2ce7af354a12de8cf0d80d27f6958c6ccd95f766:/src/mac/frame.cpp?ds=sidebyside diff --git a/src/mac/frame.cpp b/src/mac/frame.cpp index e3824f30bb..0cda00cb61 100644 --- a/src/mac/frame.cpp +++ b/src/mac/frame.cpp @@ -107,10 +107,10 @@ bool wxFrame::Create(wxWindow *parent, return FALSE; MacCreateRealWindow( title, pos , size , MacRemoveBordersFromStyle(style) , name ) ; - + m_macWindowBackgroundTheme = kThemeBrushDocumentWindowBackground ; SetThemeWindowBackground( (WindowRef) m_macWindow , m_macWindowBackgroundTheme , false ) ; - + wxModelessWindows.Append(this); return TRUE; @@ -119,7 +119,6 @@ bool wxFrame::Create(wxWindow *parent, wxFrame::~wxFrame() { m_isBeingDeleted = TRUE; - DeleteAllBars(); }