ttext_box: added a clear() function

This commit is contained in:
Charles Dang 2016-01-28 02:31:30 +11:00
parent 9ee26c53bf
commit 61ce8437a9

View file

@ -131,6 +131,11 @@ public:
history_ = ttext_history::get_history(id, true);
}
void clear()
{
set_value("");
}
protected:
/***** ***** ***** ***** layout functions ***** ***** ***** *****/