]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/overlay.h
Theme fix for Mac
[wxWidgets.git] / include / wx / overlay.h
index b99b850aa8ffa3f09437106978a41fd1332d2462..2b6d2678244d0cb5f23304406dcc088102670fc0 100644 (file)
 
 #include "wx/defs.h"
 
-#ifndef wxHAS_NATIVE_OVERLAY
-    #if defined(wxMAC_USE_CORE_GRAPHICS) && wxMAC_USE_CORE_GRAPHICS
-        #define wxHAS_NATIVE_OVERLAY 1
-    #elif defined(__WXDFB__)
-        #define wxHAS_NATIVE_OVERLAY 1
-    #else
-        #define wxHAS_NATIVE_OVERLAY 0
-    #endif
+#if defined(wxMAC_USE_CORE_GRAPHICS) && wxMAC_USE_CORE_GRAPHICS
+    #define wxHAS_NATIVE_OVERLAY 1
+#elif defined(__WXDFB__)
+    #define wxHAS_NATIVE_OVERLAY 1
+#else
+    // don't define wxHAS_NATIVE_OVERLAY
 #endif
 
 // ----------------------------------------------------------------------------