From 79bd5e982b49c183cccaefb06bcc19c78597fab3 Mon Sep 17 00:00:00 2001 From: Francesco Montorsi Date: Fri, 9 Jan 2009 12:40:11 +0000 Subject: [PATCH] use #if instead of #ifdef for WX_COMPAT git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/dc.h | 2 +- include/wx/graphics.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/wx/dc.h b/include/wx/dc.h index 2357fb12e5..eb12f06efb 100644 --- a/include/wx/dc.h +++ b/include/wx/dc.h @@ -61,7 +61,7 @@ enum wxRasterOperationMode wxNAND, // (NOT src) OR (NOT dst) wxOR, // src OR dst wxSET // 1 -#ifdef WXWIN_COMPATIBILITY_2_8 +#if WXWIN_COMPATIBILITY_2_8 ,wxROP_BLACK = wxCLEAR, wxBLIT_BLACKNESS = wxCLEAR, wxROP_XORPEN = wxXOR, diff --git a/include/wx/graphics.h b/include/wx/graphics.h index 14c007ec28..aba3af1aa4 100644 --- a/include/wx/graphics.h +++ b/include/wx/graphics.h @@ -18,6 +18,7 @@ #include "wx/geometry.h" #include "wx/dynarray.h" +#include "wx/dc.h" class WXDLLIMPEXP_FWD_CORE wxWindowDC; class WXDLLIMPEXP_FWD_CORE wxMemoryDC; -- 2.45.2