]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/textwrapper.h
removing outdated code
[wxWidgets.git] / include / wx / textwrapper.h
index bf4991f7f45aa912af853d079486132b07903e79..56b7fdc2da018301ec52b8b55ca3027aa3bcd541 100644 (file)
@@ -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)