using same API

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2010-04-18 13:18:27 +00:00
parent 2f30930a09
commit 9876e9005c

View File

@@ -162,7 +162,6 @@ wxEventLoopBase* wxGUIAppTraits::CreateEventLoop()
return new wxEventLoop;
}
wxNonOwnedWindow *wxFindWindowFromWXWindow(WXWindow inWindowRef);
wxWindow* wxFindWindowAtPoint(wxWindow* win, const wxPoint& pt);
wxWindow* wxFindWindowAtPoint(const wxPoint& pt)
@@ -174,7 +173,7 @@ wxWindow* wxFindWindowAtPoint(const wxPoint& pt)
if ( FindWindow( screenPoint , &windowRef ) )
{
wxNonOwnedWindow *nonOwned = wxFindWindowFromWXWindow( windowRef );
wxNonOwnedWindow *nonOwned = wxNonOwnedWindow::GetFromWXWindow( windowRef );
if ( nonOwned )
return wxFindWindowAtPoint( nonOwned , pt );