]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/stattext.cpp
Bring gtk class naming into line with the new naming scheme by dropping the gtk part.
[wxWidgets.git] / src / msw / stattext.cpp
index 7fdff2f500ff4b0a661118daf7e45386f4510d38..0a08d82b9db69e128974c098f99561b2eeaefb6a 100644 (file)
@@ -186,10 +186,10 @@ void wxStaticText::SetLabel(const wxString& label)
 
 #ifdef SS_ENDELLIPSIS
     if ( styleReal & SS_ENDELLIPSIS )
-        DoSetLabel(GetLabelWithoutMarkup());
+        DoSetLabel(GetLabel());
     else
 #endif // SS_ENDELLIPSIS
-        DoSetLabel(GetEllipsizedLabelWithoutMarkup());
+        DoSetLabel(GetEllipsizedLabel());
 
     // adjust the size of the window to fit to the label unless autoresizing is
     // disabled