X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce7fe42e848cc0c9058dae906c3a7bded50681e6..1b7751aaa9a86d76a850b9267bc0c201e3cea30f:/interface/wx/radiobox.h?ds=sidebyside diff --git a/interface/wx/radiobox.h b/interface/wx/radiobox.h index fe5f106f6d..be54439d7f 100644 --- a/interface/wx/radiobox.h +++ b/interface/wx/radiobox.h @@ -287,6 +287,14 @@ public: */ void SetItemToolTip(unsigned int item, const wxString& text); + /** + Sets the selection to the given item. + + Notice that a radio box always has selection, so @a n must be valid + here and passing @c wxNOT_FOUND is not allowed. + */ + virtual void SetSelection(int n); + /** Shows or hides individual buttons. @@ -310,7 +318,6 @@ public: virtual unsigned int GetCount() const; virtual wxString GetString(unsigned int n) const; virtual void SetString(unsigned int n, const wxString& string); - virtual void SetSelection(int n); virtual int GetSelection() const; };