git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15498
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if ( !wxWindowBase::Show(show) )
return FALSE;
if ( !wxWindowBase::Show(show) )
return FALSE;
+/*
+ WindowRef window = (WindowRef) MacGetRootWindow() ;
+ wxWindowMac* win = wxFindWinFromMacWindow( window ) ;
+ if ( win == NULL && win->m_isBeingDeleted )
+ return FALSE ;
+*/
- WindowRef window = (WindowRef) MacGetRootWindow() ;
- wxWindowMac* win = wxFindWinFromMacWindow( window ) ;
if ( win && !win->m_isBeingDeleted )
Refresh() ;
}
if ( win && !win->m_isBeingDeleted )
Refresh() ;
}
Rect extent = { 0 , 0 , 0 , 0 } ;
int x , y ;
x = y = 0 ;
Rect extent = { 0 , 0 , 0 , 0 } ;
int x , y ;
x = y = 0 ;
- wxSize size = GetSize() ;
+ wxSize size = parent->GetSize() ;
parent->MacClientToRootWindow( &x , &y ) ;
extent.left = x ;
extent.top = y ;
parent->MacClientToRootWindow( &x , &y ) ;
extent.left = x ;
extent.top = y ;
if ( !wxWindowBase::Show(show) )
return FALSE;
if ( !wxWindowBase::Show(show) )
return FALSE;
+/*
+ WindowRef window = (WindowRef) MacGetRootWindow() ;
+ wxWindowMac* win = wxFindWinFromMacWindow( window ) ;
+ if ( win == NULL && win->m_isBeingDeleted )
+ return FALSE ;
+*/
- WindowRef window = (WindowRef) MacGetRootWindow() ;
- wxWindowMac* win = wxFindWinFromMacWindow( window ) ;
if ( win && !win->m_isBeingDeleted )
Refresh() ;
}
if ( win && !win->m_isBeingDeleted )
Refresh() ;
}
Rect extent = { 0 , 0 , 0 , 0 } ;
int x , y ;
x = y = 0 ;
Rect extent = { 0 , 0 , 0 , 0 } ;
int x , y ;
x = y = 0 ;
- wxSize size = GetSize() ;
+ wxSize size = parent->GetSize() ;
parent->MacClientToRootWindow( &x , &y ) ;
extent.left = x ;
extent.top = y ;
parent->MacClientToRootWindow( &x , &y ) ;
extent.left = x ;
extent.top = y ;