Make set_label() virtual so tscroll_label works properly.
This commit is contained in:
parent
11cccff142
commit
cef0564be8
2 changed files with 2 additions and 2 deletions
|
@ -170,7 +170,7 @@ public:
|
|||
{ use_tooltip_on_label_overflow_ = use_tooltip; }
|
||||
|
||||
const t_string& label() const { return label_; }
|
||||
void set_label(const t_string& label);
|
||||
virtual void set_label(const t_string& label);
|
||||
|
||||
const t_string& tooltip() const { return tooltip_; }
|
||||
// Note setting the tooltip_ doesn't dirty an object.
|
||||
|
|
|
@ -41,7 +41,7 @@ public:
|
|||
/** Inherited from twidget. */
|
||||
bool has_vertical_scrollbar() const { return true; }
|
||||
|
||||
/** *OVERRIDDEN* from tcontrol */
|
||||
/** Inherited from tcontrol. */
|
||||
void set_label(const t_string& label);
|
||||
|
||||
/** Inherited from tcontainer_. */
|
||||
|
|
Loading…
Add table
Reference in a new issue