]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/textwrapper.h
Somehow, setting a tint color makes gauge work :/.
[wxWidgets.git] / include / wx / textwrapper.h
index bf4991f7f45aa912af853d079486132b07903e79..a708cebd751dabb72b35fb3cb1afb12f040b639a 100644 (file)
@@ -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 <vadim@wxwidgets.org>
 // 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)