diff --git a/contrib/src/stc/stc.cpp b/contrib/src/stc/stc.cpp index d51b8d04a0..493db91db6 100644 --- a/contrib/src/stc/stc.cpp +++ b/contrib/src/stc/stc.cpp @@ -2142,7 +2142,7 @@ bool wxStyledTextCtrl::LoadFile(const wxString& filename) void *bufptr = buffer.GetWriteBuf(len); success = (file.Read(bufptr, len) == len); buffer.UngetWriteBuf(len); -#if #wxUSE_UNICODE +#if wxUSE_UNICODE contents = wxString(buffer, *wxConvCurrent); #else contents = buffer; diff --git a/contrib/src/stc/stc.cpp.in b/contrib/src/stc/stc.cpp.in index fa23c2587b..2df0a99cc2 100644 --- a/contrib/src/stc/stc.cpp.in +++ b/contrib/src/stc/stc.cpp.in @@ -347,7 +347,7 @@ bool wxStyledTextCtrl::LoadFile(const wxString& filename) void *bufptr = buffer.GetWriteBuf(len); success = (file.Read(bufptr, len) == len); buffer.UngetWriteBuf(len); -#if #wxUSE_UNICODE +#if wxUSE_UNICODE contents = wxString(buffer, *wxConvCurrent); #else contents = buffer;