Make wxEVT_SCROLL_ENDSCROLL a #define in event.h so that new applications
won't depend on it, and so will be compatible with 2.6.1 libs. But still define and export it in event.cpp so that 2.6.0 apps will be able to use 2.6.1.1 libs. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -249,8 +249,10 @@ 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 line below, not needed any more"
|
||||
#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
|
||||
|
Reference in New Issue
Block a user