X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fa61b1df36e12ffdb77ec07677f6e14881c96a3b..f54e5c1a4f6952c62ed4480f7d26feddc20f98ba:/include/wx/overlay.h diff --git a/include/wx/overlay.h b/include/wx/overlay.h index c48639ee85..831fd8f1ba 100644 --- a/include/wx/overlay.h +++ b/include/wx/overlay.h @@ -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