X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d15b1f8509deec8b0679bbd9b680aafaf8d5caac..731fa21e8c60ec762ad54d4150dba02e867cf960:/src/common/event.cpp diff --git a/src/common/event.cpp b/src/common/event.cpp index ae6acd1979..3d4ee35534 100644 --- a/src/common/event.cpp +++ b/src/common/event.cpp @@ -247,6 +247,14 @@ DEFINE_EVENT_TYPE(wxEVT_SCROLL_THUMBTRACK) DEFINE_EVENT_TYPE(wxEVT_SCROLL_THUMBRELEASE) DEFINE_EVENT_TYPE(wxEVT_SCROLL_CHANGED) +// see comments in wx/event.h, near wxEVT_SCROLL_ENDSCROLL declaration +#if wxCHECK_VERSION(2, 7, 0) + #error "Remove the lines below, not needed any more" +#endif +#undef wxEVT_SCROLL_ENDSCROLL +extern WXDLLIMPEXP_CORE const wxEventType wxEVT_SCROLL_ENDSCROLL; +const wxEventType wxEVT_SCROLL_ENDSCROLL = wxEVT_SCROLL_CHANGED; + // Scroll events from wxWindow DEFINE_EVENT_TYPE(wxEVT_SCROLLWIN_TOP) DEFINE_EVENT_TYPE(wxEVT_SCROLLWIN_BOTTOM)