Use wxTB_DEFAULT_STYLE as default value for wxToolBar style.

No real changes, but this is more consistent with the other controls.

It also highlights the ports which use non-default style, e.g. wxQt where
wxNO_BORDER should probably not be used as part of default toolbar style but
rather added in the ctor implementation.

Closes #16667.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2014-11-07 14:59:33 +00:00
parent 50354a2540
commit 44bb92ecd5
6 changed files with 14 additions and 14 deletions

View File

@@ -24,7 +24,7 @@ public:
wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxTB_HORIZONTAL,
long style = wxTB_DEFAULT_STYLE,
const wxString& name = wxToolBarNameStr )
{
Init();
@@ -36,7 +36,7 @@ public:
wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxTB_HORIZONTAL,
long style = wxTB_DEFAULT_STYLE,
const wxString& name = wxToolBarNameStr );
virtual ~wxToolBar();