]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/stattext_osx.cpp
Replace wxST_MARKUP style with wxControl::SetLabelMarkup().
[wxWidgets.git] / src / osx / stattext_osx.cpp
index 94af706ee6b4499c5441bcb1ef87f9f8212cebc1..bf1e915c0d5a9e8211d4633a7162d7bf7d8b5843 100644 (file)
@@ -62,11 +62,11 @@ void wxStaticText::SetLabel(const wxString& label)
     )
     {
         // leave ellipsization to the OS
-        DoSetLabel(GetLabelWithoutMarkup());
+        DoSetLabel(GetLabel());
     }
     else // not supported natively
     {
-        DoSetLabel(GetEllipsizedLabelWithoutMarkup());
+        DoSetLabel(GetEllipsizedLabel());
     }
 
     if ( !(GetWindowStyle() & wxST_NO_AUTORESIZE) &&