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