wxWindow* wxFindWindowAtPoint(const wxPoint& pt) { #if wxOSX_USE_CARBON Point screenPoint = { pt.y , pt.x }; WindowRef windowRef; if ( FindWindow( screenPoint , &windowRef ) ) { wxNonOwnedWindow *nonOwned = wxNonOwnedWindow::GetFromWXWindow( windowRef ); if ( nonOwned ) return wxFindWindowAtPoint( nonOwned , pt ); } return NULL; #else return wxGenericFindWindowAtPoint( pt ); #endif }
wxWindow* wxFindWindowAtPoint(const wxPoint& pt) { return wxGenericFindWindowAtPoint(pt); }