]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/fontpicker.cpp
remove unused wxMenuBar::m_style
[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);
 }
 }
 
 }
 }