X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..6b03a638a437316e47f02a896d3ad664d59c6ddb:/interface/wx/listbox.h?ds=sidebyside diff --git a/interface/wx/listbox.h b/interface/wx/listbox.h index 7d9ad3baaa..55bd53553d 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) @@ -56,7 +55,7 @@ @category{ctrl} - @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.