X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f8ebb70d6c40f5ba8db6c24a6537cc65ac48ccd6..a4a06df3b4061e4ab4d273ceb19e1430f08bee66:/interface/wx/collpane.h diff --git a/interface/wx/collpane.h b/interface/wx/collpane.h index 5718757d1f..2ad1b46637 100644 --- a/interface/wx/collpane.h +++ b/interface/wx/collpane.h @@ -3,9 +3,12 @@ // Purpose: interface of wxCollapsiblePane // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// +#define wxCP_DEFAULT_STYLE (wxTAB_TRAVERSAL | wxNO_BORDER) +#define wxCP_NO_TLW_RESIZE (0x0002) + /** @class wxCollapsiblePaneEvent @@ -41,7 +44,7 @@ public: void SetCollapsed(bool collapsed); }; - +wxEventType wxEVT_COMMAND_COLLPANE_CHANGED; /** @class wxCollapsiblePane @@ -91,9 +94,11 @@ public: flag to disable this automatic parent resizing then. @endStyleTable - @beginEventTable{wxCollapsiblePaneEvent} + @beginEventEmissionTable{wxCollapsiblePaneEvent,wxNavigationKeyEvent} @event{EVT_COLLAPSIBLEPANE_CHANGED(id, func)} - The user expanded or collapsed the collapsible pane. + The user expanded or collapsed the collapsible pane. + @event{EVT_NAVIGATION_KEY(func)} + Process a navigation key event. @endEventTable @library{wxcore} @@ -177,4 +182,3 @@ public: */ bool IsExpanded() const; }; -