mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-13 14:07:01 -04:00
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:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user