]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stc/stc.cpp.in
added missing extern "C" required for Sun CC
[wxWidgets.git] / src / stc / stc.cpp.in
index f6c30c0896d8f8a8a00ed04dc3d661ae00b7a506..b68d69655d3d3aad3b8c377ef17a18611bb77697 100644 (file)
@@ -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);