From eb2b740e2bcfaf89b78af652acc95ea21d484bec Mon Sep 17 00:00:00 2001 From: cxl Date: Mon, 7 Sep 2009 21:03:21 +0000 Subject: [PATCH] CtrlLib: DropChoice SetConvert git-svn-id: svn://ultimatepp.org/upp/trunk@1565 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/CtrlLib/DropChoice.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uppsrc/CtrlLib/DropChoice.h b/uppsrc/CtrlLib/DropChoice.h index 68b038e03..6e966d99c 100644 --- a/uppsrc/CtrlLib/DropChoice.h +++ b/uppsrc/CtrlLib/DropChoice.h @@ -170,6 +170,7 @@ public: DropChoice& SetDisplay(const Display& d) { list.ColumnAt(0).SetDisplay(d); return *this; } DropChoice& SetLineCy(int lcy) { list.SetLineCy(lcy); return *this; } DropChoice& SetDisplay(const Display& d, int lcy) { SetDisplay(d); SetLineCy(lcy); return *this; } + DropChoice& SetConvert(const Convert& d) { list.ColumnAt(0).SetConvert(d); return *this; } DropChoice& SetDropLines(int n) { list.SetDropLines(n); return *this; } DropChoice& Appending() { appending = true; return *this; } DropChoice& AlwaysDrop(bool e = true); @@ -233,6 +234,7 @@ public: WithDropChoice& SetDisplay(const Display& d) { select.SetDisplay(d); return *this; } WithDropChoice& SetLineCy(int lcy) { select.SetLineCy(lcy); return *this; } WithDropChoice& SetDisplay(const Display& d, int lcy) { select.SetDisplay(d, lcy); return *this; } + WithDropChoice& SetConvert(const Convert& d) { select.SetConvert(d); return *this; } WithDropChoice& AlwaysDrop(bool b = true) { select.AlwaysDrop(b); return *this; } WithDropChoice& DropWidth(int w) { select.DropWidth(w); return *this; }