From 6a8158088fc2097457c3c6d7984c9e40e7eb3038 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 28 Nov 1998 22:28:25 +0000 Subject: [PATCH] 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 --- include/wx/msw/frame.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/wx/msw/frame.h b/include/wx/msw/frame.h index 68ca0aa702..28f1464835 100644 --- a/include/wx/msw/frame.h +++ b/include/wx/msw/frame.h @@ -115,7 +115,9 @@ public: const wxString& name); // 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); // If made known to the frame, the frame will manage it automatically. virtual inline void SetToolBar(wxToolBar *toolbar) { m_frameToolBar = toolbar; } -- 2.45.2