From 5df6e9395c4ec744f38e7ce874ff7c02e8a3afbd Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Sun, 25 Dec 2022 18:30:56 +0100 Subject: Improve game filtering --- src/gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui.cpp') diff --git a/src/gui.cpp b/src/gui.cpp index db34ebb..ae717a5 100644 --- a/src/gui.cpp +++ b/src/gui.cpp @@ -549,10 +549,10 @@ TabBase_TabGames::TabBase_TabGames( wxWindow* parent, wxWindowID id, const wxPoi m_staticText28->Wrap( -1 ); bSizer34->Add( m_staticText28, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - search_terms = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + search_terms = new wxTextCtrl( this, ID_SEARCH_TERMS, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PROCESS_ENTER ); bSizer34->Add( search_terms, 1, wxALL|wxEXPAND, 5 ); - apply_filter_button = new wxButton( this, wxID_ANY, wxT("Apply"), wxDefaultPosition, wxDefaultSize, 0 ); + apply_filter_button = new wxButton( this, ID_APPLY_FILTER_BUTTON, wxT("Apply"), wxDefaultPosition, wxDefaultSize, 0 ); bSizer34->Add( apply_filter_button, 0, wxALL, 5 ); -- cgit v1.2.3