#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 ;