@category{ctrl}
<!-- @appearance{listbox.png} -->
- @see wxChoice, wxComboBox, wxListCtrl, wxCommandEvent
+ @see wxEditableListBox, wxChoice, wxComboBox, wxListCtrl, wxCommandEvent
*/
class wxListBox : public wxControlWithItems
{
/**
Destructor, destroying the list box.
*/
- ~wxListBox();
+ virtual ~wxListBox();
//@{
/**
@see wxControlWithItems::GetSelection, wxControlWithItems::GetStringSelection,
wxControlWithItems::SetSelection
*/
- int GetSelections(wxArrayInt& selections) const;
+ virtual int GetSelections(wxArrayInt& selections) const;
/**
Returns the item located at @e point, or @c wxNOT_FOUND if there
@return @true if the given item is selected, @false otherwise.
*/
- bool IsSelected(int n) const;
+ virtual bool IsSelected(int n) const;
/**
Clears the list box and adds the given strings to it.