diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-12-25 18:30:56 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-12-25 18:30:56 +0100 |
| commit | 5df6e9395c4ec744f38e7ce874ff7c02e8a3afbd (patch) | |
| tree | c8435f7b80ee82adee59a0e1a7e84abc6302b3e2 /src/gui.cpp | |
| parent | 8cc460fd202703646f7c908a4fb2a485b21dc9e1 (diff) | |
Improve game filtering
Diffstat (limited to 'src/gui.cpp')
| -rw-r--r-- | src/gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 ); |
