From: Robin Dunn Date: Wed, 4 Oct 2006 03:19:19 +0000 (+0000) Subject: Avoid warnings when wxMAC_USE_CORE_GRAPHICS_BLEND_MODES is not defined X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2f34cf6090a84ab1fab6f906dcb8bb108c76eec4?ds=inline Avoid warnings when wxMAC_USE_CORE_GRAPHICS_BLEND_MODES is not defined git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/graphcmn.cpp b/src/common/graphcmn.cpp index 65a5dd067f..16e83757db 100644 --- a/src/common/graphcmn.cpp +++ b/src/common/graphcmn.cpp @@ -34,6 +34,10 @@ #if wxUSE_GRAPHICS_CONTEXT +#if !defined(wxMAC_USE_CORE_GRAPHICS_BLEND_MODES) +#define wxMAC_USE_CORE_GRAPHICS_BLEND_MODES 0 +#endif + //----------------------------------------------------------------------------- // constants //-----------------------------------------------------------------------------