}
-void LabelWidget::setText(const std::string &text)
+void LabelWidget::setText(const otk::ustring &text)
{
_text = text;
_dirty = true;
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