X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/526954c5968baa29218c994ec48e476ae2bd4b9f..e6c2d88bd0f8d9e8a9d534d2f28a62ae39e6bac9:/interface/wx/listbook.h diff --git a/interface/wx/listbook.h b/interface/wx/listbook.h index 5578ddd221..5219482fed 100644 --- a/interface/wx/listbook.h +++ b/interface/wx/listbook.h @@ -6,6 +6,17 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// +// wxListbook flags +#define wxLB_DEFAULT wxBK_DEFAULT +#define wxLB_TOP wxBK_TOP +#define wxLB_BOTTOM wxBK_BOTTOM +#define wxLB_LEFT wxBK_LEFT +#define wxLB_RIGHT wxBK_RIGHT +#define wxLB_ALIGN_MASK wxBK_ALIGN_MASK + +wxEventType wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED; +wxEventType wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING; + /** @class wxListbook @@ -46,7 +57,7 @@ @library{wxcore} @category{bookctrl} - @appearance{listbook.png} + @appearance{listbook} @see wxBookCtrl, wxNotebook, @ref page_samples_notebook */ @@ -67,6 +78,17 @@ public: long style = 0, const wxString& name = wxEmptyString); + /** + Create the list book 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 wxListView associated with the control. */