CreateToolBar/SetToolBar wrapped in #if wxUSE_TOOLBAR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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();
|
||||
};
|
||||
|
Reference in New Issue
Block a user