diff --git a/include/wx/hyperlink.h b/include/wx/hyperlink.h index 19310daf7a..eb45cd9466 100644 --- a/include/wx/hyperlink.h +++ b/include/wx/hyperlink.h @@ -134,13 +134,6 @@ typedef void (wxEvtHandler::*wxHyperlinkEventFunction)(wxHyperlinkEvent&); #define EVT_HYPERLINK(id, fn) \ wx__DECLARE_EVT1(wxEVT_COMMAND_HYPERLINK, id, wxHyperlinkEventHandler(fn)) -#ifdef _WX_DEFINE_DATE_EVENTS_ - const wxEventType wxEVT_COMMAND_HYPERLINK = wxNewEventType(); - - IMPLEMENT_DYNAMIC_CLASS(wxHyperlinkEvent, wxCommandEvent) -#endif - - #if defined(__WXGTK210__) && !defined(__WXUNIVERSAL__) #include "wx/gtk/hyperlink.h" diff --git a/src/msw/datectrl.cpp b/src/msw/datectrl.cpp index 0beaeb4e8d..27ed885258 100644 --- a/src/msw/datectrl.cpp +++ b/src/msw/datectrl.cpp @@ -38,7 +38,6 @@ #include "wx/msw/private/datecontrols.h" -#define _WX_DEFINE_DATE_EVENTS_ #include "wx/dateevt.h" // apparently some versions of mingw define these macros erroneously diff --git a/src/palmos/datectrl.cpp b/src/palmos/datectrl.cpp index 87044d1564..a351bb2777 100644 --- a/src/palmos/datectrl.cpp +++ b/src/palmos/datectrl.cpp @@ -34,7 +34,6 @@ #include "wx/dynlib.h" -#define _WX_DEFINE_DATE_EVENTS_ #include "wx/dateevt.h" #include