]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/HelpGen/src/ifcontext.cpp
fix MDI child sizing, which was working more or less by accident before I broke it...
[wxWidgets.git] / utils / HelpGen / src / ifcontext.cpp
index 1c5a41a163c39ddc12a31a294ff3a1ed76b669fa..d1a36e54c8cbca8f1a4d6de06eee7f2c29a82575 100644 (file)
@@ -9,10 +9,6 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
-#  pragma implementation "ifcontext.h"
-#endif
-
 // For compilers that support precompilation, includes "wx/wx.h".
 #include "wx/wxprec.h"
 
@@ -24,9 +20,6 @@
 #include "wx/wx.h"
 #endif
 
-#ifndef __DARWIN__
-#  include <malloc.h>
-#endif
 #include <stdio.h>
 
 #include "ifcontext.h"
@@ -251,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() );