]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/window.cpp
added wxEXEC_NOHIDE flag, modified wxExecute() to take a combination of bit flags...
[wxWidgets.git] / src / mac / window.cpp
index 8cd9a947a13bc43ef280ce29d89431aa8d81745d..ce34604fa12cccc1130fcf9d2c44e5195ad81ef7 100644 (file)
@@ -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
       }
 }