Made HelpGen compile here.
Documented wxPlotWindow. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -224,7 +224,7 @@ void RipperDocGen::AppendHighlightedSource( string& st, string source )
|
||||
char buf[1024*32];
|
||||
|
||||
// DBG:::
|
||||
ASSERT( source.length() + 1 < sizeof(buf) );
|
||||
// ASSERT( source.length() + 1 < sizeof(buf) );
|
||||
|
||||
strcpy( buf, source.c_str() );
|
||||
|
||||
|
@@ -308,7 +308,7 @@ void ScriptTemplate::PrintScript( void* dataObj, ScriptStream& stm )
|
||||
|
||||
// variable referred by template script is not
|
||||
// registered to this tempalte object
|
||||
ASSERT( found );
|
||||
// ASSERT( found );
|
||||
|
||||
} while(1);
|
||||
}
|
||||
@@ -398,7 +398,7 @@ ScriptSection* ScriptSection::GetSubsection( const char* name )
|
||||
++cur;
|
||||
}
|
||||
|
||||
ASSERT( cur < sizeof(buf) );
|
||||
// ASSERT( cur < sizeof(buf) );
|
||||
|
||||
buf[cur] = '\0';
|
||||
|
||||
@@ -432,7 +432,7 @@ void ScriptSection::AddSection( ScriptSection* pSection,
|
||||
pSection->AddRef();
|
||||
|
||||
// can add section to multiple containers
|
||||
ASSERT( pSection->mpParent == 0 );
|
||||
// ASSERT( pSection->mpParent == 0 );
|
||||
|
||||
pSection->mpParent = this;
|
||||
|
||||
@@ -602,7 +602,7 @@ bool DocGeneratorBase::SaveDocument( const char* fname,
|
||||
else
|
||||
{
|
||||
ScriptSection* pTopSect = GetTopSection();
|
||||
ASSERT( pTopSect );
|
||||
// ASSERT( pTopSect );
|
||||
pTopSect->Print( stm );
|
||||
}
|
||||
|
||||
|
@@ -405,8 +405,10 @@ void check_keyword_map( int keywordMapNr )
|
||||
|
||||
KeywordT dummy;
|
||||
|
||||
/*
|
||||
if ( (char*)& dummy != &dummy.keyWord[0] )
|
||||
throw;
|
||||
*/
|
||||
|
||||
int size = sizeof(__gKeyWords) / sizeof( KeywordT );
|
||||
|
||||
@@ -637,7 +639,7 @@ void SourcePainter::GetResultString(string& result, MarkupTagsT tags)
|
||||
{
|
||||
// this method works, only if results of processing
|
||||
// are collected
|
||||
ASSERT( mCollectResultsOn );
|
||||
// ASSERT( mCollectResultsOn );
|
||||
result = "";
|
||||
|
||||
int pos = 0;
|
||||
|
Reference in New Issue
Block a user