[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]
Re: [XaraXtreme-dev] Problem in wxWidgets 2.6.3...
- From: Alex Bligh <alex@xxxxxxxxxxx>
- Date: Fri, 19 May 2006 12:46:07 +0100
- Subject: Re: [XaraXtreme-dev] Problem in wxWidgets 2.6.3...
Ah I forgot there are two variants of wxFindWindowAtPoint (one
undocumented) and I was using the latter. The one without the
wxWindow just calls the first.
Hold on a tick and I will provide a comparable call in wxXtra.
OK, done, r1127 onwards, you want to replace
wxWindow * win = ::wxFindWindowAtPoint (pt);
wxWindow * win = ::wxChildWindowFromPoint (pt, FALSE, 0);
which does not recurse, and ignores hidden windows (like
the wx call).
::wxChildWindowFromPoint ( wxGetMousePosition(), FALSE, 0);