X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dee1a63ff52bfe4da396187f8438aa1a29796737..2936a6b18cfcc0093e55e4484a6514fb28f07d21:/src/common/artstd.cpp diff --git a/src/common/artstd.cpp b/src/common/artstd.cpp index 0eda93afd3..35f10467b9 100644 --- a/src/common/artstd.cpp +++ b/src/common/artstd.cpp @@ -223,7 +223,7 @@ wxBitmap wxDefaultArtProvider::CreateBitmap(const wxArtID& id, { 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