Filter <space> out of net filter box.

This commit is contained in:
Jeff Young 2018-10-10 19:48:34 +01:00
parent 01843290fc
commit a0b8755f47
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ public:
m_filterCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, m_filterCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition,
wxDefaultSize, wxTE_PROCESS_ENTER ); wxDefaultSize, wxTE_PROCESS_ENTER );
m_filterValidator = new wxTextValidator( wxFILTER_EXCLUDE_CHAR_LIST ); m_filterValidator = new wxTextValidator( wxFILTER_EXCLUDE_CHAR_LIST );
m_filterValidator->SetCharExcludes( " /" ); m_filterValidator->SetCharExcludes( " " );
m_filterCtrl->SetValidator( *m_filterValidator ); m_filterCtrl->SetValidator( *m_filterValidator );
mainSizer->Add( m_filterCtrl, 0, wxEXPAND, 0 ); mainSizer->Add( m_filterCtrl, 0, wxEXPAND, 0 );