]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/gtk/sizers.py
Switch to using a wxBufferedPaintDC, also draw/erase the focus
[wxWidgets.git] / wxPython / src / gtk / sizers.py
index 2b1292481c11780ee81cc35f866046e9b7d08a78..5ec6b397d91db78f7ea3f4e9994ba2ba642cc8c4 100644 (file)
@@ -7,6 +7,8 @@ from windows import *
 
 from gdi import *
 
+from fonts import *
+
 from clip_dnd import *
 
 from controls import *
@@ -243,6 +245,14 @@ class wxSizerPtr(wxObjectPtr):
         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