X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/73470a17475531b34303622f4e1d76f0755903c5..f6342fb5e6524edffa219d5843536ea279bba4df:/wxPython/src/_collpane.i 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); }; //---------------------------------------------------------------------------