]> git.saurik.com Git - wxWidgets.git/commitdiff
CreateToolBar/SetToolBar wrapped in #if wxUSE_TOOLBAR
authorDavid Elliott <dfe@tgwbd.org>
Thu, 28 Aug 2003 16:34:26 +0000 (16:34 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Thu, 28 Aug 2003 16:34:26 +0000 (16:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/cocoa/frame.h

index 1e82ab5fbc6ab14b961bc97f24817ce305f5ac63..5190e59c414eee98c0bc53e8b5b123ccc5089735 100644 (file)
@@ -86,12 +86,14 @@ public:
                                             wxStatusLineNameStr);
     // sets the main status bar
     void SetStatusBar(wxStatusBar *statBar);
+#if wxUSE_TOOLBAR
     // create main toolbar bycalling OnCreateToolBar()
     virtual wxToolBar* CreateToolBar(long style = -1,
                                      wxWindowID winid = -1,
                                      const wxString& name = wxToolBarNameStr);
     // sets the main tool bar
     virtual void SetToolBar(wxToolBar *toolbar);
+#endif //wxUSE_TOOLBAR
 protected:
     void PositionStatusBar();
 };