#pragma hdrstop
#endif
+#if wxUSE_ARTPROVIDER_STD
+
#ifndef WX_PRECOMP
#include "wx/image.h"
#endif
wxBitmap bmp = wxDefaultArtProvider_CreateBitmap(id);
#if wxUSE_IMAGE && (!defined(__WXMSW__) || wxUSE_WXDIB)
- if (bmp.Ok())
+ if (bmp.IsOk())
{
// fit into transparent image with desired size hint from the client
if (reqSize == wxDefaultSize)
return bmp;
}
+
+#endif // wxUSE_ARTPROVIDER_STD