From ef02a0c8ae65f169157c90064a335303e964a4c1 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 13 Jan 2003 05:54:40 +0000 Subject: almost done the ustring conversion --- src/labelwidget.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/labelwidget.cc') 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 -- cgit v1.2.3