// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////// */
+#include "wx/wxprec.h"
+
#include "wx/platform.h"
#include <gtk/gtk.h>
#include "wx/gtk/assertdlg_gtk.h"
/* 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)
/* add the expander */
dlg->expander = gtk_expander_new_with_mnemonic ("Back_trace:");
gtk_box_pack_start (GTK_BOX(vbox), dlg->expander, TRUE, TRUE, 0);
- g_signal_connect (GTK_EXPANDER(dlg->expander), "activate",
+ g_signal_connect (dlg->expander, "activate",
G_CALLBACK(gtk_assert_dialog_expander_callback), dlg);
}