From: Robin Dunn Date: Sun, 12 Nov 2006 02:32:43 +0000 (+0000) Subject: move the include of collpane.h to the main header X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/bafc875b600f771a3e2ebf8ffb0e96809500a5cc?ds=sidebyside move the include of collpane.h to the main header git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/include/wx/wxPython/wxPython_int.h b/wxPython/include/wx/wxPython/wxPython_int.h index 4efa244ecc..410445cd87 100644 --- a/wxPython/include/wx/wxPython/wxPython_int.h +++ b/wxPython/include/wx/wxPython/wxPython_int.h @@ -78,6 +78,7 @@ #include #include #include +#include #ifdef _MSC_VER 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); }; //---------------------------------------------------------------------------