disable clearing event tables by default, only do it if wxUSE_MEMORY_TRACING is used: this fixes the problems with events not being dispatched correctly when the library is reinitialized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2285,8 +2285,10 @@ public:
|
||||
// Clear table
|
||||
void Clear();
|
||||
|
||||
#if defined(__WXDEBUG__) && wxUSE_MEMORY_TRACING
|
||||
// Clear all tables
|
||||
static void ClearAll();
|
||||
#endif // __WXDEBUG__ && wxUSE_MEMORY_TRACING
|
||||
|
||||
protected:
|
||||
// Init the hash table with the entries of the static event table.
|
||||
|
Reference in New Issue
Block a user