X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d12e353663f9a2fc28b26e6468716f6a01b85595..3dc0174140ffc52a08fd5b64cf839babad09e5cf:/utils/HelpGen/src/scriptbinder.cpp diff --git a/utils/HelpGen/src/scriptbinder.cpp b/utils/HelpGen/src/scriptbinder.cpp index cd00c8a3f4..f20a5f675e 100644 --- a/utils/HelpGen/src/scriptbinder.cpp +++ b/utils/HelpGen/src/scriptbinder.cpp @@ -20,7 +20,9 @@ #include "wx/wx.h" #endif -#include +#ifndef __DARWIN__ +# include +#endif #include #include @@ -308,7 +310,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 +400,7 @@ ScriptSection* ScriptSection::GetSubsection( const char* name ) ++cur; } - ASSERT( cur < sizeof(buf) ); + // ASSERT( cur < sizeof(buf) ); buf[cur] = '\0'; @@ -432,7 +434,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 +604,7 @@ bool DocGeneratorBase::SaveDocument( const char* fname, else { ScriptSection* pTopSect = GetTopSection(); - ASSERT( pTopSect ); + // ASSERT( pTopSect ); pTopSect->Print( stm ); }