'''wxString %s() {
wxString text;
- int len = GetTextLength();
+ int len = GetTextLength()+1;
char* buff = text.GetWriteBuf(len+1);
SendMsg(%s, len, (long)buff);
// Retrieve all the text in the document.
wxString wxStyledTextCtrl::GetText() {
wxString text;
- int len = GetTextLength();
+ int len = GetTextLength()+1;
char* buff = text.GetWriteBuf(len+1);
SendMsg(2182, len, (long)buff);
'''wxString %s() {
wxString text;
- int len = GetTextLength();
+ int len = GetTextLength()+1;
char* buff = text.GetWriteBuf(len+1);
SendMsg(%s, len, (long)buff);
// Retrieve all the text in the document.
wxString wxStyledTextCtrl::GetText() {
wxString text;
- int len = GetTextLength();
+ int len = GetTextLength()+1;
char* buff = text.GetWriteBuf(len+1);
SendMsg(2182, len, (long)buff);