oops, typo in last commit

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2006-05-29 00:01:30 +00:00
parent 154b6b0f0e
commit 7aa7d2d407

View File

@ -1057,7 +1057,7 @@ wxWindow* wxFindWindowAtPoint(wxWindow* win, const wxPoint& pt)
wxPoint pos = win->GetPosition();
wxSize sz = win->GetSize();
if ( !win->IsTopLeven() && win->GetParent() )
if ( !win->IsTopLevel() && win->GetParent() )
{
pos = win->GetParent()->ClientToScreen(pos);
}