X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/792255cc6d3dfd55626c821bb8fdea48bfe919ba..6b03a638a437316e47f02a896d3ad664d59c6ddb:/interface/wx/combobox.h diff --git a/interface/wx/combobox.h b/interface/wx/combobox.h index f0a56fa4a4..e3324620a1 100644 --- a/interface/wx/combobox.h +++ b/interface/wx/combobox.h @@ -150,7 +150,7 @@ public: /** Destructor, destroying the combobox. */ - ~wxComboBox(); + virtual ~wxComboBox(); //@{ /** @@ -221,7 +221,7 @@ public: and returns the item currently selected in the dropdown list if it's open or the same thing as wxControlWithItems::GetSelection() otherwise. */ - int GetCurrentSelection() const; + virtual int GetCurrentSelection() const; /** Returns the insertion point for the combobox's text field. @@ -243,7 +243,7 @@ public: Currently this method is only implemented in wxMSW and wxGTK. */ - void GetSelection(long* from, long* to) const; + virtual void GetSelection(long* from, long* to) const; /** Returns the current value in the combobox text field. @@ -309,7 +309,7 @@ public: wxControlWithItems::SetSelection(). @endWxPythonOnly */ - void SetSelection(long from, long to); + virtual void SetSelection(long from, long to); /** Sets the text for the combobox text field.