]> git.saurik.com Git - wxWidgets.git/commitdiff
wxMac doesn't need UseNativeStatusBar hack
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 10 Jul 2003 01:00:24 +0000 (01:00 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 10 Jul 2003 01:00:24 +0000 (01:00 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/frame.h
src/mac/carbon/frame.cpp
src/mac/frame.cpp

index 44038e6ddd101be1f74f18949dde90b9c7b3018e..e131fdec73bee625a8a3932a51d14644dceee1ac 100644 (file)
@@ -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;
 
index 0cda00cb61adc39a54f12483bfb89e9c562e5762..b56f24712bdeedad834b5613ae5e68793b9aa169 100644 (file)
@@ -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
index 0cda00cb61adc39a54f12483bfb89e9c562e5762..b56f24712bdeedad834b5613ae5e68793b9aa169 100644 (file)
@@ -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