X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/340e9651e1ee6938ee797ea15f4c1fbdab8a6f44..d3fa4bc22e84e3ca4d88cc1772f2d414140a1017:/interface/wx/treebook.h diff --git a/interface/wx/treebook.h b/interface/wx/treebook.h index f51c5213ca..56d5a1e577 100644 --- a/interface/wx/treebook.h +++ b/interface/wx/treebook.h @@ -3,9 +3,15 @@ // Purpose: interface of wxTreebook // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// + +wxEventType wxEVT_TREEBOOK_PAGE_CHANGED; +wxEventType wxEVT_TREEBOOK_PAGE_CHANGING; +wxEventType wxEVT_TREEBOOK_NODE_COLLAPSED; +wxEventType wxEVT_TREEBOOK_NODE_EXPANDED; + /** @class wxTreebook @@ -21,24 +27,24 @@ AddPage() and AddSubPage() to sequentially populate your tree by adding at every step a page or a subpage to the end of the tree. - @beginEventTable{wxBookCtrlEvent} + @beginEventEmissionTable{wxBookCtrlEvent} @event{EVT_TREEBOOK_PAGE_CHANGED(id, func)} The page selection was changed. - Processes a @c wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED event. + Processes a @c wxEVT_TREEBOOK_PAGE_CHANGED event. @event{EVT_TREEBOOK_PAGE_CHANGING(id, func)} The page selection is about to be changed. - Processes a @c wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING event. + Processes a @c wxEVT_TREEBOOK_PAGE_CHANGING event. This event can be @ref wxNotifyEvent::Veto() "vetoed". @event{EVT_TREEBOOK_NODE_COLLAPSED(id, func)} The page node is going to be collapsed. - Processes a @c wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED event. + Processes a @c wxEVT_TREEBOOK_NODE_COLLAPSED event. @event{EVT_TREEBOOK_NODE_EXPANDED(id, func)} The page node is going to be expanded. - Processes a @c wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED event. + Processes a @c wxEVT_TREEBOOK_NODE_EXPANDED event. @endEventTable @library{wxcore} - @category{miscwnd} + @category{bookctrl} @see wxBookCtrl, wxBookCtrlEvent, wxNotebook, wxTreeCtrl, wxImageList, @ref overview_bookctrl, @ref page_samples_notebook