X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d14a1e28567de23c586bc80017073d0c39f8d18f..35095c028d472a2d0b9607a9430a468765a16e3f:/wxPython/src/_combobox.i diff --git a/wxPython/src/_combobox.i b/wxPython/src/_combobox.i index 22aba5bff2..a9da630a68 100644 --- a/wxPython/src/_combobox.i +++ b/wxPython/src/_combobox.i @@ -15,9 +15,7 @@ //--------------------------------------------------------------------------- -%{ - DECLARE_DEF_STRING(ComboBoxNameStr); -%} +MAKE_CONST_WXSTRING(ComboBoxNameStr); //--------------------------------------------------------------------------- %newgroup; @@ -64,6 +62,7 @@ public: virtual long GetInsertionPoint() const; virtual long GetLastPosition() const; virtual void Replace(long from, long to, const wxString& value); + void SetSelection(int n); %name(SetMark) virtual void SetSelection(long from, long to); virtual void SetEditable(bool editable);