added wxTB_FLAT to default style in wxFrame::CreateToolbar()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1998-11-28 22:28:25 +00:00
parent 3b4183d82b
commit 6a8158088f

View File

@@ -115,7 +115,9 @@ public:
const wxString& name); const wxString& name);
// Create toolbar // Create toolbar
virtual wxToolBar* CreateToolBar(long style = wxNO_BORDER|wxTB_HORIZONTAL, wxWindowID id = -1, const wxString& name = wxToolBarNameStr); virtual wxToolBar* CreateToolBar(long style = wxNO_BORDER | wxTB_HORIZONTAL | wxTB_FLAT,
wxWindowID id = -1,
const wxString& name = wxToolBarNameStr);
virtual wxToolBar *OnCreateToolBar(long style, wxWindowID id, const wxString& name); virtual wxToolBar *OnCreateToolBar(long style, wxWindowID id, const wxString& name);
// If made known to the frame, the frame will manage it automatically. // If made known to the frame, the frame will manage it automatically.
virtual inline void SetToolBar(wxToolBar *toolbar) { m_frameToolBar = toolbar; } virtual inline void SetToolBar(wxToolBar *toolbar) { m_frameToolBar = toolbar; }