X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f65f436e501223859b9d31b823bc071c947994a..4e621d24713f971d1a2d440f79ccc4593aede4b6:/interface/wx/choicebk.h diff --git a/interface/wx/choicebk.h b/interface/wx/choicebk.h index 239fc4dfd8..c055842d2a 100644 --- a/interface/wx/choicebk.h +++ b/interface/wx/choicebk.h @@ -6,6 +6,18 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// + +// wxChoicebook flags +#define wxCHB_DEFAULT wxBK_DEFAULT +#define wxCHB_TOP wxBK_TOP +#define wxCHB_BOTTOM wxBK_BOTTOM +#define wxCHB_LEFT wxBK_LEFT +#define wxCHB_RIGHT wxBK_RIGHT +#define wxCHB_ALIGN_MASK wxBK_ALIGN_MASK + +wxEventType wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED; +wxEventType wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING; + /** @class wxChoicebook @@ -66,6 +78,18 @@ public: const wxString& name = wxEmptyString); //@} + /** + Create the choicebook control that has already been constructed with + the default constructor. + */ + bool Create(wxWindow *parent, + wxWindowID id, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, + long style = 0, + const wxString& name = wxEmptyString); + + /** Returns the wxChoice associated with the control. */