]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/overlay.h
Fix crash again
[wxWidgets.git] / include / wx / overlay.h
index cb0b2e5a87c66d7a9cb7f1c13699e5de04fbd858..831fd8f1bafe4fde7b01d24ead24e43e4812d86f 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "wx/defs.h"
 
-#if defined(wxOSX_USE_CORE_GRAPHICS) && wxOSX_USE_CORE_GRAPHICS && wxOSX_USE_QUICKDRAW
+#if defined(__WXMAC__) && wxOSX_USE_CARBON
     #define wxHAS_NATIVE_OVERLAY 1
 #elif defined(__WXDFB__)
     #define wxHAS_NATIVE_OVERLAY 1