diff --git a/src/mac/carbon/window.cpp b/src/mac/carbon/window.cpp index 61286ac4ec..e63dde07d7 100644 --- a/src/mac/carbon/window.cpp +++ b/src/mac/carbon/window.cpp @@ -1423,7 +1423,13 @@ void wxWindowMac::Update() { wxTopLevelWindowMac* win = MacGetTopLevelWindow( ) ; if ( win ) + { win->MacUpdate( 0 ) ; + if ( QDIsPortBuffered( GetWindowPort( (WindowRef) win->MacGetWindowRef() ) ) ) + { + QDFlushPortBuffer( GetWindowPort( (WindowRef) win->MacGetWindowRef() ) , NULL ) ; + } + } } wxTopLevelWindowMac* wxWindowMac::MacGetTopLevelWindow() const diff --git a/src/mac/window.cpp b/src/mac/window.cpp index 61286ac4ec..e63dde07d7 100644 --- a/src/mac/window.cpp +++ b/src/mac/window.cpp @@ -1423,7 +1423,13 @@ void wxWindowMac::Update() { wxTopLevelWindowMac* win = MacGetTopLevelWindow( ) ; if ( win ) + { win->MacUpdate( 0 ) ; + if ( QDIsPortBuffered( GetWindowPort( (WindowRef) win->MacGetWindowRef() ) ) ) + { + QDFlushPortBuffer( GetWindowPort( (WindowRef) win->MacGetWindowRef() ) , NULL ) ; + } + } } wxTopLevelWindowMac* wxWindowMac::MacGetTopLevelWindow() const