X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c79510ca120b9b6d143c278dcf96b1403410121b..e733c4ce1e24cf7e4b0b0d8362fc59aaa7a7641c:/include/wx/textwrapper.h diff --git a/include/wx/textwrapper.h b/include/wx/textwrapper.h index bf4991f7f4..a708cebd75 100644 --- a/include/wx/textwrapper.h +++ b/include/wx/textwrapper.h @@ -3,7 +3,6 @@ // Purpose: declaration of wxTextWrapper class // Author: Vadim Zeitlin // Created: 2009-05-31 (extracted from dlgcmn.cpp via wx/private/stattext.h) -// RCS-ID: $Id$ // Copyright: (c) 1999, 2009 Vadim Zeitlin // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -98,7 +97,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)