// check if we have any icons at all
bool IsEmpty() const { return GetIconCount() == 0; }
-#ifdef WXWIN_COMPATIBILITY_2_8
+#if WXWIN_COMPATIBILITY_2_8
wxDEPRECATED( void AddIcon(const wxString& file, long type)
{
- AddIcon(file, (long)type);
+ AddIcon(file, (wxBitmapType)type);
}
)