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