]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/fontpicker.cpp
check that the version of __sync_sub_and_fetch that returns a value is supported...
[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);
 }
 }
 
 }
 }