]> git.saurik.com Git - wxWidgets.git/commitdiff
non owned window implementation
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 25 Mar 2008 07:53:55 +0000 (07:53 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 25 Mar 2008 07:53:55 +0000 (07:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/utils.cpp

index 02f46c0bc5f69b170aa8b6e25a56d72e6556ee0f..b690bac88946b3ba489754845f85049598c22804 100644 (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() ;