CtrlLib: TreeCtrl: Helper overloads of Insert/Add to resolve overloading ambiguity

git-svn-id: svn://ultimatepp.org/upp/trunk@6573 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2013-11-18 14:44:14 +00:00
parent 7725d8b640
commit bd9522418b
4 changed files with 32 additions and 8 deletions

View file

@ -189,11 +189,15 @@ public:
int Insert(int parentid, int i);
int Insert(int parentid, int i, const Image& img, Value value, bool withopen = false);
int Insert(int parentid, int i, const Image& img, Value key, Value value, bool withopen = false);
int Insert(int parentid, int i, const Image& img, Value key, const String& value, bool withopen = false);
int Insert(int parentid, int i, const Image& img, Value key, const char *value, bool withopen = false);
int Insert(int parentid, int i, const Image& img, Ctrl& c, int cx = 0, int cy = 0, bool wo = false);
int Add(int parentid, const Node& n);
int Add(int parentid);
int Add(int parentid, const Image& img, Value value, bool withopen = false);
int Add(int parentid, const Image& img, Value key, Value value, bool withopen = false);
int Add(int parentid, const Image& img, Value key, const String& value, bool withopen = false);
int Add(int parentid, const Image& img, Value key, const char *value, bool withopen = false);
int Add(int parentid, const Image& img, Ctrl& ctrl, int cx = 0, int cy = 0, bool withopen = false);
void Remove(int id);
void RemoveChildren(int id);