non owned window implementation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2008-03-25 07:53:55 +00:00
parent ee263083c8
commit 072252d9aa

View File

@@ -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() ;