]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/HelpGen/src/ifcontext.cpp
use AC_CACHE_CHECK instead of AC_MSG_CHECKING + check to avoid unnecessary checking...
[wxWidgets.git] / utils / HelpGen / src / ifcontext.cpp
index 01488de4db23f5526b7c4f64194106ed7d68e47c..3a52dc04165d3ea64b5ef9b90fada25c412bd772 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"
@@ -92,8 +85,8 @@ void spInterFileContext::InsertBookmarkSorted( BookmarkListT& lst, spBookmark& m
     lst.push_back( mark );
 }
 
-void spInterFileContext::DoAppendSourceFragment( string& source,
-                                                 string& result,
+void spInterFileContext::DoAppendSourceFragment( wxString& source,
+                                                 wxString& result,
                                                  size_t  pos, size_t len )
 {
     mFiltered.erase( mFiltered.begin(), mFiltered.end() );
@@ -132,8 +125,8 @@ void spInterFileContext::DoAppendSourceFragment( string& source,
 }
 
 void spInterFileContext::GenerateContextBody( spContext& ctx,
-                                              string&    source,
-                                              string&    result,
+                                              wxString&  source,
+                                              wxString&  result,
                                               size_t&    lastSavedPos,
                                               size_t&    lastKnownPos )
 {