X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c4e41ce37ac7bcb43663241439cee68ebeff7ffc..f1c75e0f93b4ec9f45827cc5a2d16ef17a675dfc:/include/wx/mac/frame.h diff --git a/include/wx/mac/frame.h b/include/wx/mac/frame.h index 44038e6ddd..aa21b150ee 100644 --- a/include/wx/mac/frame.h +++ b/include/wx/mac/frame.h @@ -72,7 +72,7 @@ public: // Toolbar #if wxUSE_TOOLBAR - virtual wxToolBar* CreateToolBar(long style = wxNO_BORDER | wxTB_HORIZONTAL | wxTB_FLAT, + virtual wxToolBar* CreateToolBar(long style = -1, wxWindowID id = -1, const wxString& name = wxToolBarNameStr); @@ -87,11 +87,6 @@ public: const wxString& name = wxStatusLineNameStr); virtual void PositionStatusBar(); - - // Hint to tell framework which status bar to use - // TODO: should this go into a wxFrameworkSettings class perhaps? - static void UseNativeStatusBar(bool useNative) { m_useNativeStatusBar = useNative; }; - static bool UsesNativeStatusBar() { return m_useNativeStatusBar; }; #endif // wxUSE_STATUSBAR // tooltip management @@ -117,9 +112,6 @@ protected: virtual void AttachMenuBar(wxMenuBar *menubar); protected: -#if wxUSE_STATUSBAR - static bool m_useNativeStatusBar; -#endif // wxUSE_STATUSBAR // the last focused child: we restore focus to it on activation wxWindow *m_winLastFocused;