corrected update upon activate

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2001-05-29 21:15:27 +00:00
parent 9eed87190a
commit 8803596043
2 changed files with 10 additions and 2 deletions

View File

@@ -754,9 +754,11 @@ bool wxWindow::Show(bool show)
}
MacSuperShown( show ) ;
Refresh() ;
/*
// this will be done by the activate event
if(m_macWindowData)
MacUpdateImmediately() ;
*/
return TRUE;
}
@@ -1773,6 +1775,8 @@ void wxWindow::MacActivate( EventRecord *ev , bool inIsActivating )
GetEventHandler()->ProcessEvent(event);
UMAHighlightAndActivateWindow( m_macWindowData->m_macWindow , inIsActivating ) ;
Refresh() ;
MacUpdateImmediately() ;
}
void wxWindow::MacRedraw( RgnHandle updatergn , long time)