]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/overlay.h
convert COM arguments to wx lazily to improve performance and allow calling Invoke...
[wxWidgets.git] / include / wx / overlay.h
index c48639ee85bb546a627d4a7416c18b9df9ca8190..831fd8f1bafe4fde7b01d24ead24e43e4812d86f 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "wx/defs.h"
 
-#if wxOSX_USE_CARBON
+#if defined(__WXMAC__) && wxOSX_USE_CARBON
     #define wxHAS_NATIVE_OVERLAY 1
 #elif defined(__WXDFB__)
     #define wxHAS_NATIVE_OVERLAY 1