X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/947f3b358cae28b63c6f69af21c493cab355fb7e..0411a5f92a50cd8b51b6bce2adef1937d9586f5e:/src/mac/carbon/utils.cpp diff --git a/src/mac/carbon/utils.cpp b/src/mac/carbon/utils.cpp index 02f46c0bc5..b690bac889 100644 --- a/src/mac/carbon/utils.cpp +++ b/src/mac/carbon/utils.cpp @@ -861,7 +861,7 @@ void wxMacControl::GetRectInWindowCoords( Rect *r ) WindowRef tlwref = GetControlOwner( m_controlRef ) ; - wxTopLevelWindowMac* tlwwx = wxFindWinFromMacWindow( tlwref ) ; + wxNonOwnedWindow* tlwwx = wxFindWinFromMacWindow( tlwref ) ; if ( tlwwx != NULL ) { ControlRef rootControl = tlwwx->GetPeer()->GetControlRef() ;