X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/259c43f679ca655362b5a439e11c87fc0666d663..3e822cd8d0bdf04cd2c7a3dddff61dcc211f7439:/src/common/artprov.cpp diff --git a/src/common/artprov.cpp b/src/common/artprov.cpp index d7497a45ff..2e8a1df31c 100644 --- a/src/common/artprov.cpp +++ b/src/common/artprov.cpp @@ -165,7 +165,7 @@ wxArtProviderCache *wxArtProvider::sm_cache = NULL; bmp = node->GetData()->CreateBitmap(id, client, size); if ( bmp.Ok() ) { -#if wxUSE_IMAGE +#if wxUSE_IMAGE && (!defined(__WXMSW__) || wxUSE_WXDIB) if ( size != wxDefaultSize && (bmp.GetWidth() != size.x || bmp.GetHeight() != size.y) ) {