]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/fontdlg.cpp
added more properties
[wxWidgets.git] / src / gtk / fontdlg.cpp
index 66b985019f14f763ada500d7e3ac624b1aedb746..8c6f452f53a9cca4a38a99c613a9d73af7015a5b 100644 (file)
 #ifndef WX_PRECOMP
     #include "wx/intl.h"
     #include "wx/utils.h"
+    #include "wx/msgdlg.h"
 #endif
 
 #include "wx/fontutil.h"
-#include "wx/msgdlg.h"
 
 #include "wx/gtk/private.h"
 
@@ -32,8 +32,7 @@ extern "C" {
 static
 bool gtk_fontdialog_delete_callback( GtkWidget *WXUNUSED(widget), GdkEvent *WXUNUSED(event), wxDialog *win )
 {
-    if (g_isIdle)
-        wxapp_install_idle_handler();
+    // don't need to install idle handler, its done from "event" signal
 
 /*
     printf( "OnDelete from " );