]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stc/gen_iface.py
added common regex
[wxWidgets.git] / src / stc / gen_iface.py
index 6798593426e25d97e7818f572a3a690b890aa3eb..293eff48c84ee7af49aba8959eec31b593eeb259 100644 (file)
@@ -338,7 +338,7 @@ methodOverrideMap = {
 
                  '''wxString %s() {
                         wxString text;
 
                  '''wxString %s() {
                         wxString text;
-                        int   len  = GetTextLength();
+                        int   len  = GetTextLength()+1;
                         char* buff = text.GetWriteBuf(len+1);
 
                         SendMsg(%s, len, (long)buff);
                         char* buff = text.GetWriteBuf(len+1);
 
                         SendMsg(%s, len, (long)buff);