X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d12e353663f9a2fc28b26e6468716f6a01b85595..689fceb7a725f0000102fa080d1015ab22a58489:/utils/HelpGen/src/srcparser.cpp diff --git a/utils/HelpGen/src/srcparser.cpp b/utils/HelpGen/src/srcparser.cpp index 81d84ed431..b0c12f40f4 100644 --- a/utils/HelpGen/src/srcparser.cpp +++ b/utils/HelpGen/src/srcparser.cpp @@ -10,8 +10,7 @@ ///////////////////////////////////////////////////////////////////////////// #ifdef __GNUG__ -#pragma implementation "srcparser.h" -#pragma interface +# pragma implementation "srcparser.h" #endif // For compilers that support precompilation, includes "wx/wx.h". @@ -25,7 +24,9 @@ #include "wx/wx.h" #endif -#include +#ifndef __DARWIN__ +# include +#endif #include #include "srcparser.h" @@ -345,7 +346,7 @@ void spContext::RemoveThisContext() mpParent->RemoveChild( this ); else // context should have a parent - wxASSERT(0); + wxFAIL_MSG("Context should have a parent"); } spContext* spContext::GetOutterContext()