X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2ea60735163ce5ae73b8f089b0a982e65853c9f8..bd235295fb3b35fdb29326084b87893cf5432eb5:/src/osx/utils_osx.cpp diff --git a/src/osx/utils_osx.cpp b/src/osx/utils_osx.cpp index bd165782c5..c7adb41811 100644 --- a/src/osx/utils_osx.cpp +++ b/src/osx/utils_osx.cpp @@ -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 );