From 0ee420b7b4aa5a3a3958604c700b0c58c2500dd1 Mon Sep 17 00:00:00 2001 From: twanvl Date: Tue, 7 Dec 2010 21:15:28 +0000 Subject: [PATCH] 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 --- src/gui/control/card_list.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/control/card_list.cpp b/src/gui/control/card_list.cpp index 5d614cd0..197ba369 100644 --- a/src/gui/control/card_list.cpp +++ b/src/gui/control/card_list.cpp @@ -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(); }