]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_sashwin.i
sync with CVS updates
[wxWidgets.git] / wxPython / src / _sashwin.i
index 63ab46c33b62b91c2c9f8e5acf8b34fab23d1a16..7c8f4418cc67ca5a20a9458118d044e2bd062960 100644 (file)
@@ -61,7 +61,7 @@ public:
                  const wxSize& size = wxDefaultSize,
                  long style = wxCLIP_CHILDREN | wxSW_3D,
                  const wxString& name = wxPySashNameStr);
-    %name(PreSashWindow)wxSashWindow();
+    %RenameCtor(PreSashWindow, wxSashWindow());
 
     bool Create(wxWindow* parent, wxWindowID id=-1,
                  const wxPoint& pos = wxDefaultPosition,
@@ -223,6 +223,10 @@ public:
     // Set by the app
     void SetRect(const wxRect& rect);
     wxRect GetRect() const;
+
+    %property(Flags, GetFlags, SetFlags, doc="See `GetFlags` and `SetFlags`");
+    %property(Rect, GetRect, SetRect, doc="See `GetRect` and `SetRect`");
+
 };
 
 
@@ -249,7 +253,7 @@ public:
                        const wxSize& size = wxDefaultSize,
                        long style = wxCLIP_CHILDREN | wxSW_3D,
                        const wxString& name = wxPySashLayoutNameStr);
-    %name(PreSashLayoutWindow)wxSashLayoutWindow();
+    %RenameCtor(PreSashLayoutWindow, wxSashLayoutWindow());
 
     bool Create(wxWindow* parent, wxWindowID id=-1,
                 const wxPoint& pos = wxDefaultPosition,