From: David Elliott Date: Thu, 28 Aug 2003 16:34:26 +0000 (+0000) Subject: CreateToolBar/SetToolBar wrapped in #if wxUSE_TOOLBAR X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1d2412f77b875fe3c5b29e5b09286819c46f8e6c CreateToolBar/SetToolBar wrapped in #if wxUSE_TOOLBAR git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/cocoa/frame.h b/include/wx/cocoa/frame.h index 1e82ab5fbc..5190e59c41 100644 --- a/include/wx/cocoa/frame.h +++ b/include/wx/cocoa/frame.h @@ -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(); };