X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/150e31d2088687cbfbab548f9e98918f8683d9b5..8d0a7b563acf4bd7e75824ba2076a7ab4d81a650:/include/wx/univ/combobox.h diff --git a/include/wx/univ/combobox.h b/include/wx/univ/combobox.h index b417a4e2f0..9720fe9b76 100644 --- a/include/wx/univ/combobox.h +++ b/include/wx/univ/combobox.h @@ -277,7 +277,7 @@ public: virtual void SetInsertionPoint(long pos); virtual void SetInsertionPointEnd(); virtual long GetInsertionPoint() const; - virtual long GetLastPosition() const; + virtual wxTextPos GetLastPosition() const; virtual void Replace(long from, long to, const wxString& value); virtual void Remove(long from, long to); virtual void SetSelection(long from, long to); @@ -301,11 +301,8 @@ public: virtual wxString GetString(int n) const; virtual void SetString(int n, const wxString& s); virtual int FindString(const wxString& s) const; - virtual void Select(int n); + virtual void SetSelection(int n); virtual int GetSelection() const; - void SetSelection(int n) { Select(n); } - - void SetStringSelection(const wxString& WXUNUSED(s)) { } wxCONTROL_ITEMCONTAINER_CLIENTDATAOBJECT_RECAST