]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stc/gen_iface.py
Compilation fix. I didn't add a #error since I figured this sample will be
[wxWidgets.git] / src / stc / gen_iface.py
index 6e0a0aee90770c073644b161bfde18d911844b91..f35fb2931bb823c7a1ef9250077258b5d1d092d0 100644 (file)
@@ -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),