From d5f8d293635591f4910a9e856686b974430955a6 Mon Sep 17 00:00:00 2001 From: twanvl Date: Tue, 7 Dec 2010 21:15:15 +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@1543 0fc631ac-6414-0410-93d0-97cfa31319b6 --- src/gui/set/cards_panel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/set/cards_panel.cpp b/src/gui/set/cards_panel.cpp index c5f947ec..b04d3281 100644 --- a/src/gui/set/cards_panel.cpp +++ b/src/gui/set/cards_panel.cpp @@ -97,7 +97,7 @@ void FilterCtrl::setFilter(const String& new_value, bool event) { // send event if (event) { wxCommandEvent ev(wxEVT_COMMAND_TEXT_UPDATED, GetId()); - GetParent()->ProcessEvent(ev); + GetParent()->HandleWindowEvent(ev); } } @@ -163,7 +163,7 @@ BEGIN_EVENT_TABLE(FilterCtrl, wxControl) END_EVENT_TABLE() void TextCtrlWithFocus::forwardEvent(wxFocusEvent& ev) { - GetParent()->ProcessEvent(ev); + GetParent()->HandleWindowEvent(ev); } BEGIN_EVENT_TABLE(TextCtrlWithFocus, wxTextCtrl)