mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-05 17:44:55 -06:00
CtrlLib: SuggestCtrl fix
git-svn-id: svn://ultimatepp.org/upp/trunk@12093 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
a7145cbcce
commit
43b7a97b58
1 changed files with 2 additions and 2 deletions
|
|
@ -25,10 +25,10 @@ public:
|
|||
void ClearList() { data.Clear(); }
|
||||
void AddList(const WString& s) { data.Add(s); }
|
||||
void AddList(const String& s) { data.Add(s.ToWString()); }
|
||||
void AddList(const char *s) { data.Add(s); }
|
||||
void AddList(const char *s) { data.Add(String(s)); }
|
||||
void FindAddList(const WString& s) { if(FindIndex(data,s) < 0) data.Add(s); }
|
||||
void FindAddList(const String& s) { FindAddList(s.ToWString()); }
|
||||
void FindAddList(const char *s) { FindAddList(s); }
|
||||
void FindAddList(const char *s) { FindAddList(String(s)); }
|
||||
|
||||
const Vector<WString>& GetList() { return data; }
|
||||
void Pick(Vector<WString>&& list) { data = pick(list); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue