From ae0380d355da4e163b97775fda7d3bdf71f3dadd Mon Sep 17 00:00:00 2001 From: twanvl Date: Tue, 7 Dec 2010 22:04:20 +0000 Subject: [PATCH] * compatibility with wxWdigets 2.9+: use HandleWindowEvent instead of ProcessEvent git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1560 0fc631ac-6414-0410-93d0-97cfa31319b6 --- src/gui/control/tree_list.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/control/tree_list.cpp b/src/gui/control/tree_list.cpp index a52e1452..259e36c2 100644 --- a/src/gui/control/tree_list.cpp +++ b/src/gui/control/tree_list.cpp @@ -251,7 +251,7 @@ void TreeList::onChar(wxKeyEvent& ev) { // we need this because of wxWANTS_CHARS wxNavigationKeyEvent nev; nev.SetDirection(!ev.ShiftDown()); - GetParent()->ProcessEvent(nev); + GetParent()->HandleWindowEvent(nev); break; } }