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:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user