GtkFontSelectionDialog *sel = GTK_FONT_SELECTION_DIALOG(m_widget);
- g_signal_connect (sel->ok_button, "clicked",
+ g_signal_connect (gtk_font_selection_dialog_get_ok_button(sel), "clicked",
G_CALLBACK (gtk_fontdialog_ok_callback), this);
- g_signal_connect (sel->cancel_button, "clicked",
+ g_signal_connect (gtk_font_selection_dialog_get_cancel_button(sel), "clicked",
G_CALLBACK (gtk_fontdialog_cancel_callback), this);
g_signal_connect (m_widget, "delete_event",
G_CALLBACK (gtk_fontdialog_delete_callback), this);
wxFont font = m_fontData.GetInitialFont();
- if( font.Ok() )
+ if( font.IsOk() )
{
const wxNativeFontInfo *info = font.GetNativeFontInfo();