// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
-// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
#ifdef HAVE_CONFIG_H
# include "../config.h"
}
-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