]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/utils.cpp
Query value from the model column given by col->GetModelColumn()
[wxWidgets.git] / 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() ;