X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3b9a3fd3614ebd51dbba27d75bb745bba3ec74e..d8c74d044b5acfedfbc15bf29bbfa4f4bc8f1bf7:/include/wx/image.h diff --git a/include/wx/image.h b/include/wx/image.h index 40b17b20e1..b40f7d305d 100644 --- a/include/wx/image.h +++ b/include/wx/image.h @@ -440,18 +440,16 @@ public: static RGBValue HSVtoRGB(const HSVValue& hsv); #if WXWIN_COMPATIBILITY_2_8 - // explicitly specifying inline allows gcc < 3.4 to - // handle the deprecation attribute even in the constructor. - wxDEPRECATED( - inline wxImage(const wxString& name, long type, int index = -1) + wxDEPRECATED_CONSTRUCTOR( + wxImage(const wxString& name, long type, int index = -1) { LoadFile(name, (wxBitmapType)type, index); } ) #if wxUSE_STREAMS - wxDEPRECATED( - inline wxImage(wxInputStream& stream, long type, int index = -1) + wxDEPRECATED_CONSTRUCTOR( + wxImage(wxInputStream& stream, long type, int index = -1) { LoadFile(stream, (wxBitmapType)type, index); }