]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/artstd.cpp
removed wxGTK2 hack, not needed any more
[wxWidgets.git] / src / common / artstd.cpp
index 0eda93afd3e0bffa18a0c898c7ec4207b9a73a84..35f10467b9182d37502393e2fe3f7ca807337593 100644 (file)
@@ -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