]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/sizers.i
fixed bug in generation of thumb scroll events
[wxWidgets.git] / wxPython / src / sizers.i
index 0a6f3f15cce669629cda640e3df015ef6cfafbba..1e65076ff97466397be1a0e0400f1b922a6068d6 100644 (file)
@@ -43,6 +43,8 @@ public:
     //wxSizerItem( wxWindow *window, int option, int flag, int border, wxObject* userData );
     //wxSizerItem( wxSizer *sizer, int option, int flag, int border, wxObject* userData );
 
+    void DeleteWindows();
+
     wxPoint GetPosition();
     wxSize GetSize();
     wxSize CalcMin();
@@ -95,7 +97,7 @@ public:
 
     %addmethods {
         void _setOORInfo(PyObject* _self) {
-            self->SetClientObject(new wxPyClientData(_self));
+            self->SetClientObject(new wxPyOORClientData(_self));
         }
     }
 
@@ -237,6 +239,10 @@ public:
     void Fit( wxWindow *window );
     void SetSizeHints( wxWindow *window );
 
+    void Clear( bool delete_windows=FALSE );
+    void DeleteWindows();
+
+
     // wxList& GetChildren();
     %addmethods {
         PyObject* GetChildren() {