X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=otk%2Flabel.hh;h=ad938f102e70f7ef72460062cfa1536099853fdf;hb=58ff3f35c2b712ec92b093ffd8b96331615f546a;hp=0366c262c7195285abc1b6acc5090c331b061d65;hpb=8f8acc24933830d4f5784616b9b0c5896bde0b93;p=chaz%2Fopenbox 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; }; }