#include "wx/gdicmn.h"
#include "wx/icon.h"
+WX_DECLARE_EXPORTED_OBJARRAY(wxIcon, wxIconArray);
+
// this class can't load bitmaps of type wxBITMAP_TYPE_ICO_RESOURCE,
// if you need them, you have to load them manually and call
// wxIconCollection::AddIcon
AddIcon(file, (wxBitmapType)type);
}
)
-
- wxDEPRECATED( wxIconBundle(const wxString& file, long 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)
{
AddIcon(file, (wxBitmapType)type);
}