]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fontpickercmn.cpp
Add markup support to wxMSW wxButton and show it in the sample.
[wxWidgets.git] / src / common / fontpickercmn.cpp
index cc1dd50bbe9e4d276ec1712cb4f141c3f5f25432..ff1ed56aee3a12e4756329a73b97defbc4527184 100644 (file)
@@ -42,7 +42,7 @@
 const char wxFontPickerCtrlNameStr[] = "fontpicker";
 const char wxFontPickerWidgetNameStr[] = "fontpickerwidget";
 
-DEFINE_EVENT_TYPE(wxEVT_COMMAND_FONTPICKER_CHANGED)
+wxDEFINE_EVENT(wxEVT_COMMAND_FONTPICKER_CHANGED, wxFontPickerEvent);
 IMPLEMENT_DYNAMIC_CLASS(wxFontPickerCtrl, wxPickerBase)
 IMPLEMENT_DYNAMIC_CLASS(wxFontPickerEvent, wxCommandEvent)