diff --git a/include/wx/gtk/toolbar.h b/include/wx/gtk/toolbar.h index c7e4d245ce..971da5e9d9 100644 --- a/include/wx/gtk/toolbar.h +++ b/include/wx/gtk/toolbar.h @@ -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(); diff --git a/include/wx/motif/toolbar.h b/include/wx/motif/toolbar.h index 954c836faf..021a896c6a 100644 --- a/include/wx/motif/toolbar.h +++ b/include/wx/motif/toolbar.h @@ -21,7 +21,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(); @@ -33,7 +33,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(); diff --git a/include/wx/msw/toolbar.h b/include/wx/msw/toolbar.h index 0c6b7e9c9a..8db67d8718 100644 --- a/include/wx/msw/toolbar.h +++ b/include/wx/msw/toolbar.h @@ -26,7 +26,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(); @@ -38,7 +38,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(); diff --git a/include/wx/msw/wince/tbarwce.h b/include/wx/msw/wince/tbarwce.h index 12cfd7e8fe..d8845476da 100644 --- a/include/wx/msw/wince/tbarwce.h +++ b/include/wx/msw/wince/tbarwce.h @@ -28,7 +28,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) { Create(parent, id, pos, size, style, name); @@ -38,7 +38,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); // override/implement base class virtuals @@ -87,7 +87,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, wxMenuBar* menuBar = NULL) { @@ -100,7 +100,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, wxMenuBar* menuBar = NULL); diff --git a/include/wx/osx/toolbar.h b/include/wx/osx/toolbar.h index 2cbd0d7c6a..270e17f0e8 100644 --- a/include/wx/osx/toolbar.h +++ b/include/wx/osx/toolbar.h @@ -28,7 +28,7 @@ class WXDLLIMPEXP_CORE wxToolBar: public wxToolBarBase inline wxToolBar(wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = wxTB_HORIZONTAL, + long style = wxTB_DEFAULT_STYLE, const wxString& name = wxToolBarNameStr) { Init(); @@ -37,7 +37,7 @@ class WXDLLIMPEXP_CORE wxToolBar: public wxToolBarBase virtual ~wxToolBar(); bool Create(wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = wxTB_HORIZONTAL, + long style = wxTB_DEFAULT_STYLE, const wxString& name = wxToolBarNameStr); virtual void SetWindowStyleFlag(long style); diff --git a/include/wx/qt/toolbar.h b/include/wx/qt/toolbar.h index 82eae6df50..276f7ffe96 100644 --- a/include/wx/qt/toolbar.h +++ b/include/wx/qt/toolbar.h @@ -21,7 +21,7 @@ public: wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = wxNO_BORDER | wxTB_HORIZONTAL, + long style = wxTB_DEFAULT_STYLE | wxNO_BORDER, const wxString& name = wxToolBarNameStr) { Init(); @@ -36,7 +36,7 @@ public: wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = wxNO_BORDER | wxTB_HORIZONTAL, + long style = wxTB_DEFAULT_STYLE | wxNO_BORDER, const wxString& name = wxToolBarNameStr); virtual wxToolBarToolBase *FindToolForPosition(wxCoord x, wxCoord y) const;