From: Stefan Csomor Date: Sun, 18 Apr 2010 13:18:27 +0000 (+0000) Subject: using same API X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9876e9005c8ca49e811a8a0a6ea4e8cabc0ce978 using same API git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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 );