X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..057bf0be5413b04a3ed638fbd61712d7b5f7cb3b:/utils/HelpGen/src/ifcontext.cpp diff --git a/utils/HelpGen/src/ifcontext.cpp b/utils/HelpGen/src/ifcontext.cpp index 12caefa20a..d1a36e54c8 100644 --- a/utils/HelpGen/src/ifcontext.cpp +++ b/utils/HelpGen/src/ifcontext.cpp @@ -20,9 +20,6 @@ #include "wx/wx.h" #endif -#ifndef __DARWIN__ -# include -#endif #include #include "ifcontext.h" @@ -247,7 +244,7 @@ void spInterFileContext::ParseContents( SourceParserPlugin* pPlugin ) for( size_t i = 0; i != m_Files.size(); ++i ) { - wxChar* s = (char*)(m_Contents[i].c_str()); + wxWritableCharBuffer s(m_Contents[i].char_str()); spFile* pFCtx = mParser.Parse( s, s + m_Contents[i].length() );