CtrlLib: RichText GetHeight back for BW compaitibility

git-svn-id: svn://ultimatepp.org/upp/trunk@12832 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2019-03-13 17:38:15 +00:00
parent 9b9743104e
commit 489470bdb6

View file

@ -65,6 +65,7 @@ public:
int GetWidth() const { return text.GetWidth(); }
int GetHeight(int cx) const { return text.GetHeight(Zoom(1, 1), cx); }
int GetCy() const;
int GetHeight() const /* obsolete */ { return GetHeight(GetSize().cx); }
int GetSb() const { return sb; }
void SetSb(int i) { sb = i; }