]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/artprov.cpp
Unix compilation fixes after last commit
[wxWidgets.git] / src / common / artprov.cpp
index d7497a45ff31274818684c1bc9e0073770f1c2a2..2e8a1df31c826bb25ec9e3c0e6cd249d3f0a3b59 100644 (file)
@@ -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) )
                 {