+ GtkWidget* widget = wxGTKPrivate::GetButtonWidget();
+#ifdef __WXGTK3__
+ GtkStyleContext* sc = gtk_widget_get_style_context(widget);
+ GtkIconSet* iconset = gtk_style_context_lookup_icon_set(sc, stockid);
+ GdkPixbuf* pixbuf = NULL;
+ if (iconset)
+ pixbuf = gtk_icon_set_render_icon_pixbuf(iconset, sc, size);
+ return pixbuf;
+#else
+ GtkStyle* style = gtk_widget_get_style(widget);