Add several "Raw" functions for setting/getting text from the document
buffer. They behave similarly to the same methods without the "Raw" in the name, except they don't use wxStrings. This can save some conversions to/from unicode and utf-8 in a Unicode build. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -93,6 +93,14 @@ methodOverrideMap = {
|
||||
SendMsg(%s, data.GetDataLen(), (long)data.GetData());''',
|
||||
0),
|
||||
|
||||
'AppendText' : (0,
|
||||
'void %s(const wxString& text);',
|
||||
|
||||
'''void %s(const wxString& text) {
|
||||
wxWX2MBbuf buf = (wxWX2MBbuf)wx2stc(text);
|
||||
SendMsg(%s, strlen(buf), (long)(const char*)buf);''',
|
||||
0),
|
||||
|
||||
'GetViewWS' : ( 'GetViewWhiteSpace', 0, 0, 0),
|
||||
'SetViewWS' : ( 'SetViewWhiteSpace', 0, 0, 0),
|
||||
|
||||
|
Reference in New Issue
Block a user