X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bedba0d176b5d218ee592c3051d69eda5c41dbba..8a31648287be0ef976f133de2786b137f1e98340:/src/gtk/assertdlg_gtk.cpp diff --git a/src/gtk/assertdlg_gtk.cpp b/src/gtk/assertdlg_gtk.cpp index e80caffbdb..4df435b37e 100644 --- a/src/gtk/assertdlg_gtk.cpp +++ b/src/gtk/assertdlg_gtk.cpp @@ -44,7 +44,9 @@ GtkWidget *gtk_assert_dialog_add_button_to (GtkBox *box, const gchar *label, /* add a stock icon inside it */ GtkWidget *image = gtk_image_new_from_stock (stock, GTK_ICON_SIZE_BUTTON); +#if GTK_CHECK_VERSION(2,6,0) gtk_button_set_image (GTK_BUTTON (button), image); +#endif /* add to the given (container) widget */ if (box)