Commit 46f4df73 authored by twanvl's avatar twanvl

* compatibility with wxWdigets 2.9+: use HandleWindowEvent instead of ProcessEvent

parent 6e47a5fd
...@@ -251,7 +251,7 @@ void TreeList::onChar(wxKeyEvent& ev) { ...@@ -251,7 +251,7 @@ void TreeList::onChar(wxKeyEvent& ev) {
// we need this because of wxWANTS_CHARS // we need this because of wxWANTS_CHARS
wxNavigationKeyEvent nev; wxNavigationKeyEvent nev;
nev.SetDirection(!ev.ShiftDown()); nev.SetDirection(!ev.ShiftDown());
GetParent()->ProcessEvent(nev); GetParent()->HandleWindowEvent(nev);
break; break;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment