X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3b9a3fd3614ebd51dbba27d75bb745bba3ec74e..0dd9646ea8b9e6f3a5fa8c42b6a4954cf8e3a48d:/include/wx/iconbndl.h diff --git a/include/wx/iconbndl.h b/include/wx/iconbndl.h index 75aa51c653..f32db6f3e3 100644 --- a/include/wx/iconbndl.h +++ b/include/wx/iconbndl.h @@ -17,6 +17,8 @@ #include "wx/gdicmn.h" #include "wx/icon.h" +#include "wx/dynarray.h" + WX_DECLARE_EXPORTED_OBJARRAY(wxIcon, wxIconArray); // this class can't load bitmaps of type wxBITMAP_TYPE_ICO_RESOURCE, @@ -79,9 +81,8 @@ public: AddIcon(file, (wxBitmapType)type); } ) - // explicitly specifying inline allows gcc < 3.4 to - // handle the deprecation attribute even in the constructor. - wxDEPRECATED( inline wxIconBundle (const wxString& file, long type) + + wxDEPRECATED_CONSTRUCTOR( wxIconBundle (const wxString& file, long type) { AddIcon(file, (wxBitmapType)type); }