added the static function GetLabelText() to wxStaticText which was mentioned in the docs but not implemented; also fixed the return type documented for wxControl::GetLabel*() functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user