X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=inline;f=src%2Flabelwidget.cc;h=16c8eae2b37cc2a1549aec4dd918deef53a2b184;hb=9e77a88d269bfafb78e56a646bfacebdd6ff4c5a;hp=445ae260c0efc2c3816c2f47a7ab1dce013ce4f0;hpb=cc86c196a2c2793403396bb1d2335b63e1413067;p=chaz%2Fopenbox diff --git a/src/labelwidget.cc b/src/labelwidget.cc index 445ae260..16c8eae2 100644 --- a/src/labelwidget.cc +++ b/src/labelwidget.cc @@ -26,7 +26,7 @@ LabelWidget::~LabelWidget() } -void LabelWidget::setText(const std::string &text) +void LabelWidget::setText(const otk::ustring &text) { _text = text; _dirty = true; @@ -77,7 +77,7 @@ void LabelWidget::update() otk::Widget::update(); if (draw) { - std::string t = _text; + otk::ustring t = _text; int x = _sidemargin; // x coord for the text // find a string that will fit inside the area for text