// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "imaglist.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
+#if wxUSE_IMAGLIST
+
#ifdef __BORLANDC__
#pragma hdrstop
#endif
}
// Get the bitmap
-wxBitmap wxImageList::GetBitmap(int index) const
+wxBitmap wxGenericImageList::GetBitmap(int index) const
{
const wxBitmap* bmp = GetBitmapPtr(index);
if (bmp)
}
// Get the icon
-wxIcon wxImageList::GetIcon(int index) const
+wxIcon wxGenericImageList::GetIcon(int index) const
{
const wxBitmap* bmp = GetBitmapPtr(index);
if (bmp)
return true;
}
+#endif // wxUSE_IMAGLIST
#endif // __WXPALMOS__