From 21d124e03c63546b52b5830fd593d4e9b8d69cbf Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 5 Sep 2006 21:02:27 +0000 Subject: [PATCH] pickers code cleanup (patch 1552220) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/clrpicker.h | 7 ------- include/wx/filepicker.h | 7 ------- include/wx/fontpicker.h | 7 ------- 3 files changed, 21 deletions(-) diff --git a/include/wx/clrpicker.h b/include/wx/clrpicker.h index 13dfd4b846..29f0c818d2 100644 --- a/include/wx/clrpicker.h +++ b/include/wx/clrpicker.h @@ -193,13 +193,6 @@ typedef void (wxEvtHandler::*wxColourPickerEventFunction)(wxColourPickerEvent&); #define EVT_COLOURPICKER_CHANGED(id, fn) \ wx__DECLARE_EVT1(wxEVT_COMMAND_COLOURPICKER_CHANGED, id, wxColourPickerEventHandler(fn)) -#ifdef _WX_DEFINE_DATE_EVENTS_ - DEFINE_EVENT_TYPE(wxEVT_COMMAND_COLOURPICKER_CHANGED) - - IMPLEMENT_DYNAMIC_CLASS(wxColourPickerEvent, wxCommandEvent) -#endif - - #endif // wxUSE_COLOURPICKERCTRL diff --git a/include/wx/filepicker.h b/include/wx/filepicker.h index 360f12c75e..b4f12513eb 100644 --- a/include/wx/filepicker.h +++ b/include/wx/filepicker.h @@ -391,13 +391,6 @@ typedef void (wxEvtHandler::*wxFileDirPickerEventFunction)(wxFileDirPickerEvent& #define EVT_DIRPICKER_CHANGED(id, fn) \ wx__DECLARE_EVT1(wxEVT_COMMAND_DIRPICKER_CHANGED, id, wxFileDirPickerEventHandler(fn)) -#ifdef _WX_DEFINE_DATE_EVENTS_ - DEFINE_EVENT_TYPE(wxEVT_COMMAND_FILEPICKER_CHANGED) - DEFINE_EVENT_TYPE(wxEVT_COMMAND_DIRPICKER_CHANGED) - - IMPLEMENT_DYNAMIC_CLASS(wxFileDirPickerEvent, wxCommandEvent) -#endif - #endif // wxUSE_FILEPICKERCTRL || wxUSE_DIRPICKERCTRL diff --git a/include/wx/fontpicker.h b/include/wx/fontpicker.h index b6f776e2e1..3a296ad89b 100644 --- a/include/wx/fontpicker.h +++ b/include/wx/fontpicker.h @@ -216,13 +216,6 @@ typedef void (wxEvtHandler::*wxFontPickerEventFunction)(wxFontPickerEvent&); #define EVT_FONTPICKER_CHANGED(id, fn) \ wx__DECLARE_EVT1(wxEVT_COMMAND_FONTPICKER_CHANGED, id, wxFontPickerEventHandler(fn)) -#ifdef _WX_DEFINE_DATE_EVENTS_ - DEFINE_EVENT_TYPE(wxEVT_COMMAND_FONTPICKER_CHANGED) - - IMPLEMENT_DYNAMIC_CLASS(wxFontPickerEvent, wxCommandEvent) -#endif - - #endif // wxUSE_FONTPICKERCTRL -- 2.45.2