]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/stattextcmn.cpp
use ES_RIGHT|ES_NUMBER styles for the buddy control as it's used for numeric entry...
[wxWidgets.git] / src / common / stattextcmn.cpp
index b40340b5c70c65aa6c08ad5c86ce83cb8643bf8b..b4b6acee004d9a96183e4a34931bf9f8c1555ac3 100644 (file)
@@ -154,6 +154,14 @@ wxString wxStaticTextBase::GetLabelText() const
     return RemoveMnemonics(ret);
 }
 
+/*static*/
+wxString wxStaticTextBase::GetLabelText(const wxString& label)
+{
+    // remove markup
+    wxString ret = RemoveMarkup(label);
+    return RemoveMnemonics(ret);
+}
+
 /*static*/
 wxString wxStaticTextBase::RemoveMarkup(const wxString& text)
 {