X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b9dfbc00e0251cdabc4c1a8d5c67bf28e8b28b2..2e08b1a367d51e20a19612b46a8c83eb2414c686:/src/stc/stc.cpp.in diff --git a/src/stc/stc.cpp.in b/src/stc/stc.cpp.in index f6c30c0896..b68d69655d 100644 --- a/src/stc/stc.cpp.in +++ b/src/stc/stc.cpp.in @@ -497,7 +497,7 @@ void wxStyledTextCtrl::NotifyParent(SCNotification* _scn) { wxMemoryBuffer buf(scn.length+1); buf.AppendData((void*)scn.text, scn.length); buf.AppendByte(0); - evt.SetText(wxString(buf, wxConvUTF8)); + evt.SetText(stc2wx(buf)); } evt.SetLength(scn.length); evt.SetLinesAdded(scn.linesAdded);