From: Stefan Csomor Date: Tue, 29 May 2001 21:15:27 +0000 (+0000) Subject: corrected update upon activate X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8803596043af5d782f7a7ee7221103844ecedf8a corrected update upon activate git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/window.cpp b/src/mac/carbon/window.cpp index 3e59235190..7252027515 100644 --- a/src/mac/carbon/window.cpp +++ b/src/mac/carbon/window.cpp @@ -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) diff --git a/src/mac/window.cpp b/src/mac/window.cpp index 3e59235190..7252027515 100644 --- a/src/mac/window.cpp +++ b/src/mac/window.cpp @@ -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)