]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/sizers.i
wxMac SWIGged updates
[wxWidgets.git] / wxPython / src / sizers.i
index 1e65076ff97466397be1a0e0400f1b922a6068d6..11b6ca412b211f434e69dda92d0f5ad28a1b2e72 100644 (file)
@@ -231,13 +231,25 @@ public:
     wxPoint GetPosition();
     wxSize GetMinSize();
 
+    %pragma(python) addtoclass = "
+    def GetSizeTuple(self):
+        return self.GetSize().asTuple()
+    def GetPositionTuple(self):
+        return self.GetPosition().asTuple()
+    def GetMinSizeTuple(self):
+        return self.GetMinSize().asTuple()
+    "
+
     // void RecalcSizes() = 0;
     // wxSize CalcMin() = 0;
 
     void Layout();
 
     void Fit( wxWindow *window );
+    void FitInside( wxWindow *window );
+
     void SetSizeHints( wxWindow *window );
+    void SetVirtualSizeHints( wxWindow *window );
 
     void Clear( bool delete_windows=FALSE );
     void DeleteWindows();