diff options
Diffstat (limited to 'otk/label.hh')
| -rw-r--r-- | otk/label.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/otk/label.hh b/otk/label.hh index 0366c262..ad938f10 100644 --- a/otk/label.hh +++ b/otk/label.hh @@ -14,8 +14,8 @@ public: Label(Widget *parent); ~Label(); - inline const std::string &getText(void) const { return _text; } - void setText(const std::string &text) { _text = text; _dirty = true; } + inline const ustring &getText(void) const { return _text; } + void setText(const ustring &text) { _text = text; _dirty = true; } void update(void); @@ -25,7 +25,7 @@ private: //! Object used by Xft to render to the drawable XftDraw *_xftdraw; //! Text displayed in the label - std::string _text; + ustring _text; }; } |
