git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34444
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
delete mpFileBinderCtx;
}
delete mpFileBinderCtx;
}
-void RipperDocGen::AppendComments( spContext& fromContext, string& str )
+void RipperDocGen::AppendComments( spContext& fromContext, wxString& str )
{
if ( !fromContext.HasComments() ) return;
{
if ( !fromContext.HasComments() ) return;
( str[n] == 10 && str[n+1] == 10 )
)
{
( str[n] == 10 && str[n+1] == 10 )
)
{
- str.insert( n + 1, "<p>" ); // FIXME:: quick-hack
+ str.insert( n + 1, _T("<p>") ); // FIXME:: quick-hack
}
str += mTags[TAG_PARAGRAPH].end;
}
}
str += mTags[TAG_PARAGRAPH].end;
}
st += mTags[TAG_FIXED_FONT].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];
{
// FIXME:: below should not be fixed :)
char buf[1024*32];
- void AppendComments( spContext& fromContext, string& str );
+ void AppendComments( spContext& fromContext, wxString& str );
void AppendMulitilineStr( wxString& st, wxString& mlStr );
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
// returns true, if no comments found in the context,
// plus, creates dummy(empty) section, and puts a