Add wxAuiToolBar::Create().
Implement two-step creation of wxAuiToolBar to allow doing it from XRC. See #13520. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user