Added some inline helpers so the dependence on wxUSE_UNICODE and
wxUSE_WCHAR_T can be localized instead of having #if's all over the place. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained 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);
|
||||
|
||||
Reference in New Issue
Block a user