]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/assertdlg_gtk.cpp
Fix the checkbox cell size in generic wxDataViewToggleRenderer.
[wxWidgets.git] / src / gtk / assertdlg_gtk.cpp
index 2a80149a77c61256091ab058745f02038e84976f..0ed3a239bde3db2d71ce260f2097d3199cb8a431 100644 (file)
@@ -7,6 +7,8 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////// */
 
+#include "wx/wxprec.h"
+
 #include "wx/platform.h"
 #include <gtk/gtk.h>
 #include "wx/gtk/assertdlg_gtk.h"
@@ -43,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)