-#ifndef __WXGTK20__
- // strange way to internationalize
- gtk_label_set( GTK_LABEL( BUTTON_CHILD(sel->ok_button) ), _("OK") );
-#endif
-
- gtk_signal_connect( GTK_OBJECT(sel->cancel_button), "clicked",
- GTK_SIGNAL_FUNC(gtk_fontdialog_cancel_callback), (gpointer*)this );
-
-#ifndef __WXGTK20__
- // strange way to internationalize
- gtk_label_set( GTK_LABEL( BUTTON_CHILD(sel->cancel_button) ), _("Cancel") );
-#endif
+ g_signal_connect (gtk_font_selection_dialog_get_cancel_button(sel), "clicked",
+ G_CALLBACK (gtk_fontdialog_cancel_callback), this);