Commit d4f93257 authored by twanvl's avatar twanvl

compatibility with wxWdigets 2.9+: use HandleWindowEvent instead of ProcessEvent

parent 57f1a343
...@@ -360,7 +360,7 @@ void CardListBase::onChar(wxKeyEvent& ev) { ...@@ -360,7 +360,7 @@ void CardListBase::onChar(wxKeyEvent& ev) {
// we need this because tabs are not handled on the cards panel // we need this because tabs are not handled on the cards panel
wxNavigationKeyEvent nev; wxNavigationKeyEvent nev;
nev.SetDirection(!ev.ShiftDown()); nev.SetDirection(!ev.ShiftDown());
GetParent()->ProcessEvent(nev); GetParent()->HandleWindowEvent(nev);
} else { } else {
ev.Skip(); ev.Skip();
} }
......
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