]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/artgtk.cpp
remove checks for new dc code
[wxWidgets.git] / src / gtk / artgtk.cpp
index a888e389bf1154b7f75ed8e2679f00c23d8c9757..6153868e5c0834e93917839e1933b3cbaafdb07a 100644 (file)
@@ -257,11 +257,8 @@ wxBitmap wxGTK2ArtProvider::CreateBitmap(const wxArtID& id,
         stockid = id.ToAscii();
 
     GdkPixbuf *pixbuf = CreateStockIcon(stockid, stocksize);
-
-    if (!pixbuf && !gtk_check_version(2,4,0))
-    {
+    if (!pixbuf)
         pixbuf = CreateThemeIcon(stockid, stocksize, size);
-    }
 
     if (pixbuf && size != wxDefaultSize &&
         (size.x != gdk_pixbuf_get_width(pixbuf) ||