refresh during window delete (if root window deleted) removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -775,7 +775,17 @@ bool wxWindow::Show(bool show)
|
||||
}
|
||||
}
|
||||
MacSuperShown( show ) ;
|
||||
Refresh() ;
|
||||
if ( !show )
|
||||
{
|
||||
WindowRef window = GetMacRootWindow() ;
|
||||
wxWindow* win = wxFindWinFromMacWindow( window ) ;
|
||||
if ( !win->m_isBeingDeleted )
|
||||
Refresh() ;
|
||||
}
|
||||
else
|
||||
{
|
||||
Refresh() ;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user