X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cf8ccdb270af889f19ae7a57d77b721e250b2ad4..46e672027809a31d87ed41c1a4e8ca5ef52c3220:/interface/wx/aui/auibar.h?ds=inline diff --git a/interface/wx/aui/auibar.h b/interface/wx/aui/auibar.h index 303a14ba0f..e02e3cd785 100644 --- a/interface/wx/aui/auibar.h +++ b/interface/wx/aui/auibar.h @@ -596,11 +596,32 @@ public: class wxAuiToolBar : public wxControl { public: + /** + Default constructor, use Create() later. + + @since 2.9.5 + */ + wxAuiToolBar(); + + /** + Constructor creating and initializing the object. + */ wxAuiToolBar(wxWindow* parent, - wxWindowID id = -1, + wxWindowID id = wxID_ANY, const wxPoint& position = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxAUI_TB_DEFAULT_STYLE); + + /** + Really create wxAuiToolBar created using default constructor. + + @since 2.9.5 + */ + bool Create(wxWindow* parent, + wxWindowID id = wxID_ANY, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, + long style = wxAUI_TB_DEFAULT_STYLE); virtual ~wxAuiToolBar(); void SetWindowStyleFlag(long style);