From: Stefan Csomor Date: Tue, 25 Mar 2008 07:53:55 +0000 (+0000) Subject: non owned window implementation X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/072252d9aa2216f2b6e18ce92eaf60a7d7419bff non owned window implementation git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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() ;