X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4116c2215676be5c8372276fa133e9d5dba5efce..4e5a4c69c540b430fba8efe5dae1bc1ffd5caeca:/src/mac/window.cpp diff --git a/src/mac/window.cpp b/src/mac/window.cpp index 8cd9a947a1..ce34604fa1 100644 --- a/src/mac/window.cpp +++ b/src/mac/window.cpp @@ -1447,10 +1447,12 @@ void wxWindowMac::Update() if ( win ) { win->MacUpdate( 0 ) ; +#if TARGET_API_MAC_CARBON if ( QDIsPortBuffered( GetWindowPort( (WindowRef) win->MacGetWindowRef() ) ) ) { QDFlushPortBuffer( GetWindowPort( (WindowRef) win->MacGetWindowRef() ) , NULL ) ; } +#endif } }