54 wxCommandEvent changeEvent( FILTERED_ITEM_SELECTED );
55 wxPostEvent( GetComboCtrl(), changeEvent );
74 if( filterString.IsEmpty() || symbol.Lower().Contains( filterString.Lower() ) )
75 aListContent.push_back( symbol );
85 const wxSize& size,
long style ) :
88 std::unique_ptr<SYMBOL_FILTER_COMBOPOPUP> popup = std::make_unique<SYMBOL_FILTER_COMBOPOPUP>();
A combobox that has a filterable popup.
void setFilterPopup(std::unique_ptr< FILTER_COMBOPOPUP > aPopup)
SYMBOL_FILTER_COMBOPOPUP * m_selectorPopup
void SetSelectedSymbol(const wxString &aSymbolName)
void SetSymbolList(const wxArrayString &aSymbolList)
SYMBOL_FILTER_COMBOBOX(wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0)