]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/image.h
Experimental simplification of the code by using MWERKS version
[wxWidgets.git] / include / wx / image.h
index a813e888409145a7d156e1203ca1932cb359aabf..b2edab0779438dfc9929bf50418b2882f2c3ccf6 100644 (file)
@@ -112,7 +112,7 @@ public:
     wxBitmapType GetType() const { return m_type; }
     const wxString& GetMimeType() const { return m_mime; }
 
-#ifdef WXWIN_COMPATIBILITY_2_8
+#if WXWIN_COMPATIBILITY_2_8
     wxDEPRECATED(
         void SetType(long type) { SetType((wxBitmapType)type); }
     )
@@ -434,7 +434,7 @@ public:
     static HSVValue RGBtoHSV(const RGBValue& rgb);
     static RGBValue HSVtoRGB(const HSVValue& hsv);
 
-#ifdef WXWIN_COMPATIBILITY_2_8
+#if WXWIN_COMPATIBILITY_2_8
     wxDEPRECATED(
         wxImage(const wxString& name, long type, int index = -1)
         {