Apply change in r51405 to this file too: don't use DECLARE_EVENT_TYPE() to avoid confusing people about its unused value parameter, declare the event type constants directly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
d05b30e400
commit
316c9cfe4a
@ -418,36 +418,34 @@ private:
|
||||
|
||||
|
||||
#ifndef SWIG
|
||||
BEGIN_DECLARE_EVENT_TYPES()
|
||||
DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_STC, wxEVT_STC_CHANGE, 1650)
|
||||
DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_STC, wxEVT_STC_STYLENEEDED, 1651)
|
||||
DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_STC, wxEVT_STC_CHARADDED, 1652)
|
||||
DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_STC, wxEVT_STC_SAVEPOINTREACHED, 1653)
|
||||
DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_STC, wxEVT_STC_SAVEPOINTLEFT, 1654)
|
||||
DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_STC, wxEVT_STC_ROMODIFYATTEMPT, 1655)
|
||||
DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_STC, wxEVT_STC_KEY, 1656)
|
||||
DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_STC, wxEVT_STC_DOUBLECLICK, 1657)
|
||||
DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_STC, wxEVT_STC_UPDATEUI, 1658)
|
||||
DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_STC, wxEVT_STC_MODIFIED, 1659)
|
||||
DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_STC, wxEVT_STC_MACRORECORD, 1660)
|
||||
DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_STC, wxEVT_STC_MARGINCLICK, 1661)
|
||||
DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_STC, wxEVT_STC_NEEDSHOWN, 1662)
|
||||
DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_STC, wxEVT_STC_PAINTED, 1664)
|
||||
DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_STC, wxEVT_STC_USERLISTSELECTION, 1665)
|
||||
DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_STC, wxEVT_STC_URIDROPPED, 1666)
|
||||
DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_STC, wxEVT_STC_DWELLSTART, 1667)
|
||||
DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_STC, wxEVT_STC_DWELLEND, 1668)
|
||||
DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_STC, wxEVT_STC_START_DRAG, 1669)
|
||||
DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_STC, wxEVT_STC_DRAG_OVER, 1670)
|
||||
DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_STC, wxEVT_STC_DO_DROP, 1671)
|
||||
DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_STC, wxEVT_STC_ZOOM, 1672)
|
||||
DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_STC, wxEVT_STC_HOTSPOT_CLICK, 1673)
|
||||
DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_STC, wxEVT_STC_HOTSPOT_DCLICK, 1674)
|
||||
DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_STC, wxEVT_STC_CALLTIP_CLICK, 1675)
|
||||
DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_STC, wxEVT_STC_AUTOCOMP_SELECTION, 1676)
|
||||
DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_STC, wxEVT_STC_INDICATOR_CLICK, 1677)
|
||||
DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_STC, wxEVT_STC_INDICATOR_RELEASE, 1678)
|
||||
END_DECLARE_EVENT_TYPES()
|
||||
extern WXDLLIMPEXP_STC const wxEventType wxEVT_STC_CHANGE;
|
||||
extern WXDLLIMPEXP_STC const wxEventType wxEVT_STC_STYLENEEDED;
|
||||
extern WXDLLIMPEXP_STC const wxEventType wxEVT_STC_CHARADDED;
|
||||
extern WXDLLIMPEXP_STC const wxEventType wxEVT_STC_SAVEPOINTREACHED;
|
||||
extern WXDLLIMPEXP_STC const wxEventType wxEVT_STC_SAVEPOINTLEFT;
|
||||
extern WXDLLIMPEXP_STC const wxEventType wxEVT_STC_ROMODIFYATTEMPT;
|
||||
extern WXDLLIMPEXP_STC const wxEventType wxEVT_STC_KEY;
|
||||
extern WXDLLIMPEXP_STC const wxEventType wxEVT_STC_DOUBLECLICK;
|
||||
extern WXDLLIMPEXP_STC const wxEventType wxEVT_STC_UPDATEUI;
|
||||
extern WXDLLIMPEXP_STC const wxEventType wxEVT_STC_MODIFIED;
|
||||
extern WXDLLIMPEXP_STC const wxEventType wxEVT_STC_MACRORECORD;
|
||||
extern WXDLLIMPEXP_STC const wxEventType wxEVT_STC_MARGINCLICK;
|
||||
extern WXDLLIMPEXP_STC const wxEventType wxEVT_STC_NEEDSHOWN;
|
||||
extern WXDLLIMPEXP_STC const wxEventType wxEVT_STC_PAINTED;
|
||||
extern WXDLLIMPEXP_STC const wxEventType wxEVT_STC_USERLISTSELECTION;
|
||||
extern WXDLLIMPEXP_STC const wxEventType wxEVT_STC_URIDROPPED;
|
||||
extern WXDLLIMPEXP_STC const wxEventType wxEVT_STC_DWELLSTART;
|
||||
extern WXDLLIMPEXP_STC const wxEventType wxEVT_STC_DWELLEND;
|
||||
extern WXDLLIMPEXP_STC const wxEventType wxEVT_STC_START_DRAG;
|
||||
extern WXDLLIMPEXP_STC const wxEventType wxEVT_STC_DRAG_OVER;
|
||||
extern WXDLLIMPEXP_STC const wxEventType wxEVT_STC_DO_DROP;
|
||||
extern WXDLLIMPEXP_STC const wxEventType wxEVT_STC_ZOOM;
|
||||
extern WXDLLIMPEXP_STC const wxEventType wxEVT_STC_HOTSPOT_CLICK;
|
||||
extern WXDLLIMPEXP_STC const wxEventType wxEVT_STC_HOTSPOT_DCLICK;
|
||||
extern WXDLLIMPEXP_STC const wxEventType wxEVT_STC_CALLTIP_CLICK;
|
||||
extern WXDLLIMPEXP_STC const wxEventType wxEVT_STC_AUTOCOMP_SELECTION;
|
||||
extern WXDLLIMPEXP_STC const wxEventType wxEVT_STC_INDICATOR_CLICK;
|
||||
extern WXDLLIMPEXP_STC const wxEventType wxEVT_STC_INDICATOR_RELEASE;
|
||||
#else
|
||||
enum {
|
||||
wxEVT_STC_CHANGE,
|
||||
|
Loading…
Reference in New Issue
Block a user