]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/fontpicker.cpp
use IMPLEMENT_APP_CONSOLE and not IMPLEMENT_APP for console apps
[wxWidgets.git] / src / gtk / fontpicker.cpp
index a0e12a4978fbe14951268a5ff546d6764f4fdfc9..00b1181bc971559bdfc0fc4ff6db567f3c11afdb 100644 (file)
@@ -42,7 +42,7 @@ static void gtk_fontbutton_setfont_callback(GtkFontButton *widget,
 
     // fire the colour-changed event
     wxFontPickerEvent event(p, p->GetId(), p->GetSelectedFont());
 
     // fire the colour-changed event
     wxFontPickerEvent event(p, p->GetId(), p->GetSelectedFont());
-    p->GetEventHandler()->ProcessEvent(event);
+    p->HandleWindowEvent(event);
 }
 }
 
 }
 }