From 8ccff7d2116057a0e79db28491a6c7fdf4051a58 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Thu, 30 Oct 2003 22:26:29 +0000 Subject: [PATCH] #if around deprecated macros git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/imagbmp.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/include/wx/imagbmp.h b/include/wx/imagbmp.h index 78a63204f4..8865193d9d 100644 --- a/include/wx/imagbmp.h +++ b/include/wx/imagbmp.h @@ -25,10 +25,12 @@ #define wxIMAGE_OPTION_CUR_HOTSPOT_X wxT("HotSpotX") #define wxIMAGE_OPTION_CUR_HOTSPOT_Y wxT("HotSpotY") -// Do not use these macros, they are deprecated!! : -#define wxBMP_FORMAT wxIMAGE_OPTION_BMP_FORMAT -#define wxCUR_HOTSPOT_X wxIMAGE_OPTION_CUR_HOTSPOT_X -#define wxCUR_HOTSPOT_Y wxIMAGE_OPTION_CUR_HOTSPOT_Y +#if WXWIN_COMPATIBILITY_2_4 + // Do not use these macros, they are deprecated + #define wxBMP_FORMAT wxIMAGE_OPTION_BMP_FORMAT + #define wxCUR_HOTSPOT_X wxIMAGE_OPTION_CUR_HOTSPOT_X + #define wxCUR_HOTSPOT_Y wxIMAGE_OPTION_CUR_HOTSPOT_Y +#endif enum -- 2.45.2