]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/imagbmp.h
use iostream.h and not iostream with OpenWatcom (part of patch 910058)
[wxWidgets.git] / include / wx / imagbmp.h
index 0ba6c31e9f8491ed5d470352fd2036d883ed3193..8865193d9d4bdef4308689a7df4527639c8f0f78 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef _WX_IMAGBMP_H_
 #define _WX_IMAGBMP_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "imagbmp.h"
 #endif
 
 #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