wxWidgets/tests/events
Vadim Zeitlin f48099e00a Make Connect() work with overloaded event handlers in C++17
This used to work previously but got broken when using C++17 by
c3810da549 (Allow using noexcept methods with event tables macros,
2020-04-09), as cast added to deal with noexcept handlers relied on
argument type deduction which can't be done for overloaded functions.

Fix this by extracting the event argument type from the function pointer
type and specifying it explicitly, while still letting the compiler
deduce the class.

Add a test case checking that using overloaded event handlers compiles.

See #18721.

Closes #18896.
2020-11-21 20:52:13 +01:00
..
clone.cpp
evthandler.cpp Make Connect() work with overloaded event handlers in C++17 2020-11-21 20:52:13 +01:00
evtlooptest.cpp
evtsource.cpp
keyboard.cpp
propagation.cpp
stopwatch.cpp
timertest.cpp