wxWindow GetPosition() bug???

mardif mariano.difelice at gmail.com
Tue Aug 22 04:32:14 EDT 2006


Hi,
I've found a strange behavior in method GetPosition() of wxWindow class

( and derived ).
On windows, if you create a window object

frame = wx.Frame(None, -1, "TESTING")

and you set the position to:
frame.SetPosition( (300, 45000) )

If you call method GetPosition, the result will be:
frame.GetPosition()
 >>> (300, 32767)

32767 is the integer limit. Why GetPosition() returns this value??? and

why on Unix Platform this problem was not found??

thx very much!

bye




More information about the Python-list mailing list