]> git.saurik.com Git - wxWidgets.git/commitdiff
#if around deprecated macros
authorVáclav Slavík <vslavik@fastmail.fm>
Thu, 30 Oct 2003 22:26:29 +0000 (22:26 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Thu, 30 Oct 2003 22:26:29 +0000 (22:26 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/imagbmp.h

index 78a63204f4cb8024921fc3785cbdb291e5834174..8865193d9d4bdef4308689a7df4527639c8f0f78 100644 (file)
 #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