]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/stc/gtk/stc_wrap.cpp
Add SetBestSize, GetDefaultAttributes and fixed ShouldInheritColours
[wxWidgets.git] / wxPython / contrib / stc / gtk / stc_wrap.cpp
index a5e2ad39c7144756a31d9a7f4ba984d93704d0ca..8cb353deec471c9c8d2eb5fe5d4c2aecd01c01e1 100644 (file)
@@ -714,6 +714,7 @@ static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *self, PyObject *ar
         arg2 = new wxMemoryBuffer(len);
         temp2 = True;
         memcpy(arg2->GetData(), str, len);
+        arg2->SetDataLen(len);
     }
     {
         PyThreadState* __tstate = wxPyBeginAllowThreads();