From 8803596043af5d782f7a7ee7221103844ecedf8a Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Tue, 29 May 2001 21:15:27 +0000 Subject: [PATCH] corrected update upon activate git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/window.cpp | 6 +++++- src/mac/window.cpp | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) 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) -- 2.50.0