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:
@@ -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() ;
|
||||
|
Reference in New Issue
Block a user