summaryrefslogtreecommitdiff
path: root/src/labelwidget.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-13 05:54:40 +0000
committerDana Jansens <danakj@orodu.net>2003-01-13 05:54:40 +0000
commitef02a0c8ae65f169157c90064a335303e964a4c1 (patch)
treef1a1bf6cfe05ee11545bfa811f5a2582e1906dce /src/labelwidget.cc
parent5a90d2b671f01f29043ab82f909440de0abfa362 (diff)
almost done the ustring conversion
Diffstat (limited to 'src/labelwidget.cc')
-rw-r--r--src/labelwidget.cc4
1 files changed, 2 insertions, 2 deletions
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