[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]
Re: [XaraXtreme-dev] GetRect() doesn't do what you think it does
- From: Mark Loumbert <mark@xxxxxxxxxxxxxxx>
- Date: Sun, 16 Apr 2006 23:32:52 +0400
- Subject: Re: [XaraXtreme-dev] GetRect() doesn't do what you think it does
That is how I suspected it should work. Thanks! In other words,
GetRect() always returns the rect relative to the parent coordinate system.
Alex Bligh wrote:
Beware: GetRect() doesn't do what you think it does. It returns screen
coordinates if you call it from a wxTopLevelWindow, but coordinates
relative to the parent if from another window (aaargghhh).
Mark Loumbert, CEO, Brave Orange