delete mpFileBinderCtx;
}
-void RipperDocGen::AppendComments( spContext& fromContext, string& str )
+void RipperDocGen::AppendComments( spContext& fromContext, wxString& str )
{
if ( !fromContext.HasComments() ) return;
( str[n] == 10 && str[n+1] == 10 )
)
{
- str.insert( n + 1, "<p>" ); // FIXME:: quick-hack
+ str.insert( n + 1, _T("<p>") ); // FIXME:: quick-hack
len += 3;
}
}
- str[n] = ' ';
+ str[n] = _T(' ');
}
str += mTags[TAG_PARAGRAPH].end;
}
st += mTags[TAG_FIXED_FONT].end;
}
-void RipperDocGen::AppendHighlightedSource( string& st, string source )
+void RipperDocGen::AppendHighlightedSource( wxString& st, wxString source )
{
// FIXME:: below should not be fixed :)
char buf[1024*32];
protected:
// helpers
- void AppendComments( spContext& fromContext, string& str );
+ void AppendComments( spContext& fromContext, wxString& str );
void AppendMulitilineStr( wxString& st, wxString& mlStr );
- void AppendHighlightedSource( string& st, string source );
+ void AppendHighlightedSource( wxString& st, wxString source );
// returns true, if no comments found in the context,
// plus, creates dummy(empty) section, and puts a