* 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
This commit is contained in:
twanvl
2010-12-07 22:04:20 +00:00
parent 653378d0b2
commit ae0380d355
+1 -1
View File
@@ -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;
}
}