X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e7445ff8ee26e39fab1e35455e1bef954bdf636f..3ab296d9eb6d351eb1d2238f3e6ff2f5e6123861:/src/mac/carbon/frame.cpp diff --git a/src/mac/carbon/frame.cpp b/src/mac/carbon/frame.cpp index 00e588c945..b630e653f4 100644 --- a/src/mac/carbon/frame.cpp +++ b/src/mac/carbon/frame.cpp @@ -19,12 +19,11 @@ #include "wx/menu.h" #include "wx/dialog.h" #include "wx/settings.h" + #include "wx/toolbar.h" + #include "wx/statusbr.h" + #include "wx/menuitem.h" #endif // WX_PRECOMP -#include "wx/statusbr.h" -#include "wx/toolbar.h" -#include "wx/menuitem.h" - #include "wx/mac/uma.h" extern wxWindowList wxModelessWindows; @@ -47,20 +46,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxFrame, wxTopLevelWindow) void wxFrame::Init() { - m_frameMenuBar = NULL; - m_frameStatusBar = NULL; m_winLastFocused = NULL; - -#if wxUSE_TOOLBAR - m_frameToolBar = NULL; -#endif - -#if wxUSE_TOOLTIPS - // NB: is this used anywhere? - m_hwndToolTip = NULL; -#endif - - m_iconized = false; } bool wxFrame::Create(wxWindow *parent,