X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4116c2215676be5c8372276fa133e9d5dba5efce..fbf456aa8952c6d2d3edeea1208b0e3159a3cb8d:/src/mac/window.cpp?ds=inline 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 } }