From: Vadim Zeitlin Date: Thu, 10 Jul 2003 01:00:24 +0000 (+0000) Subject: wxMac doesn't need UseNativeStatusBar hack X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e4b712e2455dfc6e5303c428119b435d8d6182ed?ds=inline wxMac doesn't need UseNativeStatusBar hack git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/mac/frame.h b/include/wx/mac/frame.h index 44038e6ddd..e131fdec73 100644 --- a/include/wx/mac/frame.h +++ b/include/wx/mac/frame.h @@ -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; diff --git a/src/mac/carbon/frame.cpp b/src/mac/carbon/frame.cpp index 0cda00cb61..b56f24712b 100644 --- a/src/mac/carbon/frame.cpp +++ b/src/mac/carbon/frame.cpp @@ -40,12 +40,6 @@ END_EVENT_TABLE() IMPLEMENT_DYNAMIC_CLASS(wxFrame, wxTopLevelWindow) #endif -#if wxUSE_NATIVE_STATUSBAR -bool wxFrame::m_useNativeStatusBar = TRUE; -#else -bool wxFrame::m_useNativeStatusBar = FALSE; -#endif - #define WX_MAC_STATUSBAR_HEIGHT 15 // ---------------------------------------------------------------------------- // creation/destruction diff --git a/src/mac/frame.cpp b/src/mac/frame.cpp index 0cda00cb61..b56f24712b 100644 --- a/src/mac/frame.cpp +++ b/src/mac/frame.cpp @@ -40,12 +40,6 @@ END_EVENT_TABLE() IMPLEMENT_DYNAMIC_CLASS(wxFrame, wxTopLevelWindow) #endif -#if wxUSE_NATIVE_STATUSBAR -bool wxFrame::m_useNativeStatusBar = TRUE; -#else -bool wxFrame::m_useNativeStatusBar = FALSE; -#endif - #define WX_MAC_STATUSBAR_HEIGHT 15 // ---------------------------------------------------------------------------- // creation/destruction