From 857dab7dcd7cb95dfabbe63761064b8dc949a5ef Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sat, 24 Nov 2001 23:59:34 +0000 Subject: [PATCH] wxToolBar support in wxUniv/wxFrame git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/univ/frame.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/wx/univ/frame.h b/include/wx/univ/frame.h index 6e9b24f1d5..4419dea5bd 100644 --- a/include/wx/univ/frame.h +++ b/include/wx/univ/frame.h @@ -53,6 +53,13 @@ public: const wxString& name = wxStatusLineNameStr); #endif // wxUSE_STATUSBAR +#if wxUSE_TOOLBAR + // create main toolbar bycalling OnCreateToolBar() + virtual wxToolBar* CreateToolBar(long style = wxNO_BORDER|wxTB_HORIZONTAL, + wxWindowID id = -1, + const wxString& name = wxToolBarNameStr); + virtual void PositionToolBar(); +#endif // wxUSE_TOOLBAR protected: void OnSize(wxSizeEvent& event); -- 2.45.2