X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/73470a17475531b34303622f4e1d76f0755903c5..e7e9d1b87f7fafedb7d7edc9be941b80f0059a01:/wxPython/src/_collpane.i?ds=sidebyside diff --git a/wxPython/src/_collpane.i b/wxPython/src/_collpane.i index 58ba3fa13f..6e79eb3d6f 100644 --- a/wxPython/src/_collpane.i +++ b/wxPython/src/_collpane.i @@ -16,10 +16,6 @@ //--------------------------------------------------------------------------- %newgroup -%{ -#include -%} - MAKE_CONST_WXSTRING(CollapsiblePaneNameStr); enum { @@ -107,7 +103,9 @@ public: virtual wxWindow *, GetPane() const, "Returns a reference to the pane window. Use the returned `wx.Window` as the parent of widgets to make them part of the collapsible area.", ""); - + + %property(Expanded, IsExpanded); + %property(Collapsed, IsCollapsed); }; @@ -128,6 +126,8 @@ public: bool GetCollapsed() const; void SetCollapsed(bool c); + + %property(Collapsed, GetCollapsed, SetCollapsed); }; //---------------------------------------------------------------------------