projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wxUniversal fixes:
[wxWidgets.git]
/
wxPython
/
src
/
sizers.i
diff --git
a/wxPython/src/sizers.i
b/wxPython/src/sizers.i
index 1e65076ff97466397be1a0e0400f1b922a6068d6..75c9b24d901dac984ff9b43ee2615e9bb3605e14 100644
(file)
--- a/
wxPython/src/sizers.i
+++ b/
wxPython/src/sizers.i
@@
-231,6
+231,15
@@
public:
wxPoint GetPosition();
wxSize GetMinSize();
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 RecalcSizes() = 0;
// wxSize CalcMin() = 0;