Remove references to never generated wxSTC events

EVT_STC_KEY and EVT_STC_URIDROPPED events are never generated so there is no need to reference them in the code and documentation. For backwards compatibility reasons their declarations are not entirely removed but marked as deprecated.

Closes #17688.
This commit is contained in:
New Pagodi
2017-02-16 18:18:13 +01:00
committed by Artur Wieczorek
parent 889b406b0e
commit e68cafaf94
7 changed files with 31 additions and 32 deletions

View File

@@ -2780,8 +2780,6 @@
TOWRITE
@event{EVT_STC_ROMODIFYATTEMPT(id, fn)}
TOWRITE
@event{EVT_STC_KEY(id, fn)}
TOWRITE
@event{EVT_STC_DOUBLECLICK(id, fn)}
TOWRITE
@event{EVT_STC_UPDATEUI(id, fn)}
@@ -2798,8 +2796,6 @@
TOWRITE
@event{EVT_STC_USERLISTSELECTION(id, fn)}
TOWRITE
@event{EVT_STC_URIDROPPED(id, fn)}
TOWRITE
@event{EVT_STC_DWELLSTART(id, fn)}
TOWRITE
@event{EVT_STC_DWELLEND(id, fn)}
@@ -2848,6 +2844,16 @@
@endEventTable
Most of the scintilla notifications are mapped to a similarly named
wxStyledTextEvent. However a few of the notifications would only offer
information available in other wxWidgets event types, and in those cases a
corresponding wxStyledTextEvent is not defined. Currently, the
@c wxEVT_KEY_DOWN event is used instead of the SCN_KEY notification. The
regular wxWidgets drag and drop functionality can be used instead of the
SCN_URIDROPPED notification. The @c wxEVT_SET_FOCUS event is used instead
of the SCN_FOCUSIN notification. And the @c wxEVT_KILL_FOCUS event is used
instead of the SCN_FOCUSOUT notification.
@library{wxstc}
@category{stc}