X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/450c18313af63d52a01d96ee96cfc45a64b126ac..0903bd055aef36924bd492c277eace3e6f48a599:/src/gtk/artgtk.cpp diff --git a/src/gtk/artgtk.cpp b/src/gtk/artgtk.cpp index a888e389bf..6153868e5c 100644 --- a/src/gtk/artgtk.cpp +++ b/src/gtk/artgtk.cpp @@ -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) ||