CComponentsText: try to use an inherited version of CBox class

It's a partial solution to use full functionality for size handling
of CTextBox in CComponentsText.
This commit is contained in:
2013-07-12 09:25:13 +02:00
parent 25c40a63dd
commit a6c43a62bd
3 changed files with 20 additions and 20 deletions

View File

@@ -38,13 +38,11 @@ Handling of text parts based up CTextBox attributes and methodes.
CComponentsText provides a interface to the embedded CTextBox object.
*/
class CComponentsText : public CComponentsItem
class CComponentsText : public CComponentsItem, public CBox
{
protected:
///object: CTextBox object
CTextBox * ct_textbox;
///object: CBox object
CBox * ct_box;
///object: Fontrenderer object
Font * ct_font;