X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/340e9651e1ee6938ee797ea15f4c1fbdab8a6f44..1fb08526acab831aacfd4549efd32f84b31a24a5:/interface/wx/treebook.h diff --git a/interface/wx/treebook.h b/interface/wx/treebook.h index f51c5213ca..7c2a73c3fe 100644 --- a/interface/wx/treebook.h +++ b/interface/wx/treebook.h @@ -2,10 +2,15 @@ // Name: treebook.h // 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 +26,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