FIX:delete default search terms for search controls

Change-Id: Ic400f4120fc78f78ffb138848c9e8046bc32954a
This commit is contained in:
tao wang 2023-04-07 09:29:49 +08:00 committed by Lane.Wei
parent b116a605f2
commit 1e731a15f0
1 changed files with 0 additions and 2 deletions

View File

@ -418,8 +418,6 @@ SelectMachinePopup::SelectMachinePopup(wxWindow *parent)
m_search_bar = new wxSearchCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
m_search_bar->ShowSearchButton( true );
m_search_bar->ShowCancelButton( false );
m_search_bar->SetHint(_L("Search"));
m_search_bar->SetDescriptiveText(_L("Search"));
m_sizer_search_bar->Add( m_search_bar, 1, wxALL| wxEXPAND, 1 );
m_sizer_main->Add(m_sizer_search_bar, 0, wxALL | wxEXPAND, FromDIP(2));
m_search_bar->Bind( wxEVT_COMMAND_TEXT_UPDATED, &SelectMachinePopup::update_machine_list, this );