X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..157a8f700278715161c66a418124459a6dc501dc:/interface/wx/listbox.h diff --git a/interface/wx/listbox.h b/interface/wx/listbox.h index 7d9ad3baaa..ed3dfaf77f 100644 --- a/interface/wx/listbox.h +++ b/interface/wx/listbox.h @@ -8,7 +8,6 @@ /** @class wxListBox - @wxheader{listbox.h} A listbox is used to select one or more of a list of strings. The strings are displayed in a scrolling box, with the selected string(s) @@ -54,9 +53,9 @@ @library{wxcore} @category{ctrl} - + @appearance{listbox.png} - @see wxChoice, wxComboBox, wxListCtrl, wxCommandEvent + @see wxEditableListBox, wxChoice, wxComboBox, wxListCtrl, wxCommandEvent */ class wxListBox : public wxControlWithItems { @@ -104,7 +103,7 @@ public: /** Destructor, destroying the list box. */ - ~wxListBox(); + virtual ~wxListBox(); //@{ /** @@ -152,7 +151,7 @@ public: @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 @@ -204,7 +203,7 @@ public: @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.