ttext_box: added a clear() function
This commit is contained in:
parent
9ee26c53bf
commit
61ce8437a9
1 changed files with 5 additions and 0 deletions
|
@ -131,6 +131,11 @@ public:
|
|||
history_ = ttext_history::get_history(id, true);
|
||||
}
|
||||
|
||||
void clear()
|
||||
{
|
||||
set_value("");
|
||||
}
|
||||
|
||||
protected:
|
||||
/***** ***** ***** ***** layout functions ***** ***** ***** *****/
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue