X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c79510ca120b9b6d143c278dcf96b1403410121b..7344108e8a129a3f9b4df5ab0f98a1713db03b89:/include/wx/textwrapper.h diff --git a/include/wx/textwrapper.h b/include/wx/textwrapper.h index bf4991f7f4..56b7fdc2da 100644 --- a/include/wx/textwrapper.h +++ b/include/wx/textwrapper.h @@ -98,7 +98,8 @@ public: protected: virtual wxWindow *OnCreateLine(const wxString& line) { - return new wxStaticText(m_win, wxID_ANY, line); + return new wxStaticText(m_win, wxID_ANY, + wxControl::EscapeMnemonics(line)); } virtual void OnOutputLine(const wxString& line)