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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user