// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "icon.h"
-#endif
-
#include "wx/wxprec.h"
#include "wx/icon.h"
-#if !USE_SHARED_LIBRARIES
IMPLEMENT_DYNAMIC_CLASS(wxIcon, wxBitmap)
-#endif
#include "wx/image.h"
#include "wx/mac/private.h"
}
else
{
+#if wxUSE_IMAGE
wxImage loadimage(filename, type);
if (loadimage.Ok())
{
CopyFromBitmap( bmp ) ;
return true;
}
+#endif
}
}
return true ;