git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39406
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxPoint pos = win->GetPosition();
wxSize sz = win->GetSize();
wxPoint pos = win->GetPosition();
wxSize sz = win->GetSize();
+ if ( !win->IsTopLeven() && win->GetParent() )
{
pos = win->GetParent()->ClientToScreen(pos);
}
{
pos = win->GetParent()->ClientToScreen(pos);
}
wxRect rect(pos, sz);
if (rect.Inside(pt))
return win;
wxRect rect(pos, sz);
if (rect.Inside(pt))
return win;
}
wxWindow* wxGenericFindWindowAtPoint(const wxPoint& pt)
}
wxWindow* wxGenericFindWindowAtPoint(const wxPoint& pt)