compatibility with wxWdigets 2.9+: use HandleWindowEvent instead of ProcessEvent

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1544 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2010-12-07 21:15:28 +00:00
parent d5f8d29363
commit 0ee420b7b4
+1 -1
View File
@@ -360,7 +360,7 @@ void CardListBase::onChar(wxKeyEvent& ev) {
// we need this because tabs are not handled on the cards panel
wxNavigationKeyEvent nev;
nev.SetDirection(!ev.ShiftDown());
GetParent()->ProcessEvent(nev);
GetParent()->HandleWindowEvent(nev);
} else {
ev.Skip();
}