git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43329 
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
 #include <wx/clrpicker.h>
 #include <wx/filepicker.h>
 #include <wx/fontpicker.h>    
 #include <wx/clrpicker.h>
 #include <wx/filepicker.h>
 #include <wx/fontpicker.h>    
+#include <wx/collpane.h>
 
 //---------------------------------------------------------------------------
 %newgroup
 
 //---------------------------------------------------------------------------
 %newgroup
 
-%{
-#include <wx/collpane.h>
-%}
-
 MAKE_CONST_WXSTRING(CollapsiblePaneNameStr);
 
 enum {
 MAKE_CONST_WXSTRING(CollapsiblePaneNameStr);
 
 enum {
         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.", "");
         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);
 
     bool GetCollapsed() const;
     void SetCollapsed(bool c);
 
     bool GetCollapsed() const;
     void SetCollapsed(bool c);
+
+    %property(Collapsed, GetCollapsed, SetCollapsed);
 };
 
 //---------------------------------------------------------------------------
 };
 
 //---------------------------------------------------------------------------