add a unit test checking that events are really propagated as they're supposed to
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -27,3 +27,10 @@ class TestAssertFailure { };
|
||||
#define WX_ASSERT_FAILS_WITH_ASSERT(cond) CPPUNIT_ASSERT(!(cond))
|
||||
#endif
|
||||
|
||||
// these functions can be used to hook into wxApp event processing and are
|
||||
// currently used by the events propagation test
|
||||
typedef int (*FilterEventFunc)(wxEvent&);
|
||||
typedef bool (*ProcessEventFunc)(wxEvent&);
|
||||
|
||||
extern void SetFilterEventFunc(FilterEventFunc func);
|
||||
extern void SetProcessEventFunc(ProcessEventFunc func);
|
||||
|
Reference in New Issue
Block a user