wxWidgets/include
Vadim Zeitlin 5591a20093 Detect attempts to catch wxEVT_TEXT_ENTER without wxTE_PROCESS_ENTER
This is never going to work, so complain about trying to do it to help with
catching this bug.

This is possible thanks to the new OnDynamicBind() method invoked whenever a
dynamic event handler is bound to a control, so this doesn't detect all
possible occurrences of the bug (such as specifying the handler in a static
event table or in a validator), but it's still better than nothing.

In the future OnDynamicBind() should be extended for other invalid calls, e.g.
binding a handler for wxEVT_TEXT_ENTER to a non-text control shouldn't work
neither, ideally.
2016-02-20 17:07:04 +01:00
..
msvc/wx Recognize MSVC 14 a.k.a. Visual Studio 2015 compiler. 2015-05-08 02:24:10 +02:00
wx Detect attempts to catch wxEVT_TEXT_ENTER without wxTE_PROCESS_ENTER 2016-02-20 17:07:04 +01:00