X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3051a44a73502c2b03d1618d0a8e94274ee67e16..45df4bb6c238e3c42765af9454c15ad814d7a80a:/interface/wx/listbook.h?ds=sidebyside diff --git a/interface/wx/listbook.h b/interface/wx/listbook.h index 5683d89c4b..e0d23fd9ed 100644 --- a/interface/wx/listbook.h +++ b/interface/wx/listbook.h @@ -3,9 +3,20 @@ // Purpose: interface of wxListbook // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// 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 @@ -45,7 +56,7 @@ @endEventTable @library{wxcore} - @category{miscwnd} + @category{bookctrl} @appearance{listbook.png} @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. */