]> Dogcows Code - chaz/openbox/commitdiff
set the _text
authorDana Jansens <danakj@orodu.net>
Mon, 10 Feb 2003 01:39:45 +0000 (01:39 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 10 Feb 2003 01:39:45 +0000 (01:39 +0000)
otk/label.cc

index 751fff3421197c55954ef41404f8b1dc611e8ac1..43d06f77aa6e8b0ad5e2ee1951ba51e976c200b3 100644 (file)
@@ -49,6 +49,7 @@ void Label::setText(const ustring &text)
   std::string s = text.c_str(); // use a normal string, for its functionality
 
   _parsedtext.clear();
   std::string s = text.c_str(); // use a normal string, for its functionality
 
   _parsedtext.clear();
+  _text = text;
   
   // parse it into multiple lines
   std::string::size_type p = 0;
   
   // parse it into multiple lines
   std::string::size_type p = 0;
This page took 0.021759 seconds and 4 git commands to generate.