X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/39bc0347fda3505f7fb43447f21efd84b9e00b3c..c3c62822fdda9d340179dec663a806e905882cc9:/include/wx/stattext.h diff --git a/include/wx/stattext.h b/include/wx/stattext.h index 8795777ea8..3a1c6cb047 100644 --- a/include/wx/stattext.h +++ b/include/wx/stattext.h @@ -58,6 +58,9 @@ public: // public utilities (symmetric to those in wxControl about mnemonics): + // get the string without mnemonic characters ('&') and without markup + static wxString GetLabelText(const wxString& label); + // removes the markup accepted by wxStaticText when wxST_MARKUP is used, // and then returns the cleaned string static wxString RemoveMarkup(const wxString& str);