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