-#endif // GTK+ 1.2 and later only
-
-//-----------------------------------------------------------------------------
-// "clicked" for Cancel-button
-//-----------------------------------------------------------------------------
-
-static
-void gtk_fontdialog_cancel_callback( GtkWidget *WXUNUSED(w), wxFontDialog *dialog )
-{
- if (g_isIdle)
- wxapp_install_idle_handler();
-
- wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED, wxID_CANCEL);
- event.SetEventObject( dialog );
- dialog->GetEventHandler()->ProcessEvent( event );