X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4116c2215676be5c8372276fa133e9d5dba5efce..65e508482777277c429b8c522e1ff8050ff5cdc7:/src/mac/carbon/window.cpp?ds=sidebyside diff --git a/src/mac/carbon/window.cpp b/src/mac/carbon/window.cpp index 8cd9a947a1..ce34604fa1 100644 --- a/src/mac/carbon/window.cpp +++ b/src/mac/carbon/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 } }