Fix the checkbox cell size in generic wxDataViewToggleRenderer.
[wxWidgets.git] / src / gtk / assertdlg_gtk.cpp
index 1ec690b733bc573fd4cc3e00e4fd170082c11e14..0ed3a239bde3db2d71ce260f2097d3199cb8a431 100644 (file)
@@ -45,9 +45,7 @@ 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)