More warning and error fixes (work in progress with Tinderbox).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -164,7 +164,7 @@ RipperDocGen::~RipperDocGen()
|
|||||||
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;
|
||||||
|
|
||||||
@@ -206,11 +206,11 @@ void RipperDocGen::AppendComments( spContext& fromContext, string& str )
|
|||||||
( 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
|
||||||
len += 3;
|
len += 3;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
str[n] = ' ';
|
str[n] = _T(' ');
|
||||||
}
|
}
|
||||||
str += mTags[TAG_PARAGRAPH].end;
|
str += mTags[TAG_PARAGRAPH].end;
|
||||||
}
|
}
|
||||||
@@ -222,7 +222,7 @@ void RipperDocGen::AppendMulitilineStr( wxString& st, wxString& mlStr )
|
|||||||
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 :)
|
// FIXME:: below should not be fixed :)
|
||||||
char buf[1024*32];
|
char buf[1024*32];
|
||||||
|
@@ -84,11 +84,11 @@ protected:
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
// helpers
|
// helpers
|
||||||
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,
|
// returns true, if no comments found in the context,
|
||||||
// plus, creates dummy(empty) section, and puts a
|
// plus, creates dummy(empty) section, and puts a
|
||||||
|
Reference in New Issue
Block a user