X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/101dd79ab622d9f274f122953fcf6ad32bef4cbf..9fd9e47a93dfcdd99c2722e288a0f28a51ce6f5f:/wxPython/src/msw/sizers.py diff --git a/wxPython/src/msw/sizers.py b/wxPython/src/msw/sizers.py index 2b1292481c..5ec6b397d9 100644 --- a/wxPython/src/msw/sizers.py +++ b/wxPython/src/msw/sizers.py @@ -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