git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64028 
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
     return new wxEventLoop;
 }
 
     return new wxEventLoop;
 }
 
-wxNonOwnedWindow *wxFindWindowFromWXWindow(WXWindow inWindowRef);
 wxWindow* wxFindWindowAtPoint(wxWindow* win, const wxPoint& pt);
 
 wxWindow* wxFindWindowAtPoint(const wxPoint& pt)
 wxWindow* wxFindWindowAtPoint(wxWindow* win, const wxPoint& pt);
 
 wxWindow* wxFindWindowAtPoint(const wxPoint& pt)
 
     if ( FindWindow( screenPoint , &windowRef ) )
     {
 
     if ( FindWindow( screenPoint , &windowRef ) )
     {
-        wxNonOwnedWindow *nonOwned = wxFindWindowFromWXWindow( windowRef );
+        wxNonOwnedWindow *nonOwned = wxNonOwnedWindow::GetFromWXWindow( windowRef );
 
         if ( nonOwned )
             return wxFindWindowAtPoint( nonOwned , pt );
 
         if ( nonOwned )
             return wxFindWindowAtPoint( nonOwned , pt );