]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/sizers.py
wxUniversal fixes:
[wxWidgets.git] / wxPython / src / msw / sizers.py
index 2d780afcebeb9ca27277062c6442e53916e20cf4..5ec6b397d91db78f7ea3f4e9994ba2ba642cc8c4 100644 (file)
@@ -245,6 +245,14 @@ class wxSizerPtr(wxObjectPtr):
         else:
             apply(self.SetItemMinSizeWindow, args)
      
         else:
             apply(self.SetItemMinSizeWindow, args)
      
+    
+    def GetSizeTuple(self):
+        return self.GetSize().asTuple()
+    def GetPositionTuple(self):
+        return self.GetPosition().asTuple()
+    def GetMinSizeTuple(self):
+        return self.GetMinSize().asTuple()
+    
 class wxSizer(wxSizerPtr):
     def __init__(self,this):
         self.this = this
 class wxSizer(wxSizerPtr):
     def __init__(self,this):
         self.this = this