X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/44b7211689ec6c63c8e98c73a7ecd13994328ba7..c80d4c1e207b0011db61cb2ce1cc8babe8e54582:/src/common/fontpickercmn.cpp diff --git a/src/common/fontpickercmn.cpp b/src/common/fontpickercmn.cpp index 107d8c7a14..83e6a36e17 100644 --- a/src/common/fontpickercmn.cpp +++ b/src/common/fontpickercmn.cpp @@ -4,7 +4,6 @@ // Author: Francesco Montorsi // Modified by: // Created: 15/04/2006 -// RCS-ID: $Id$ // Copyright: (c) Francesco Montorsi // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -42,7 +41,7 @@ const char wxFontPickerCtrlNameStr[] = "fontpicker"; const char wxFontPickerWidgetNameStr[] = "fontpickerwidget"; -wxDEFINE_EVENT(wxEVT_COMMAND_FONTPICKER_CHANGED, wxFontPickerEvent); +wxDEFINE_EVENT(wxEVT_FONTPICKER_CHANGED, wxFontPickerEvent); IMPLEMENT_DYNAMIC_CLASS(wxFontPickerCtrl, wxPickerBase) IMPLEMENT_DYNAMIC_CLASS(wxFontPickerEvent, wxCommandEvent) @@ -71,7 +70,7 @@ bool wxFontPickerCtrl::Create( wxWindow *parent, wxWindowID id, // complete sizer creation wxPickerBase::PostCreation(); - m_picker->Connect(wxEVT_COMMAND_FONTPICKER_CHANGED, + m_picker->Connect(wxEVT_FONTPICKER_CHANGED, wxFontPickerEventHandler(wxFontPickerCtrl::OnFontChange), NULL, this);