X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fa61b1df36e12ffdb77ec07677f6e14881c96a3b..8fad69b019ba90717b44824874192609cb7ef2a1:/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