X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ad05396006ee3655f079bd2a3c57ac0e3e7e8828..0e2ff151afc472efd2814c74add5ad4498709d33:/utils/HelpGen/src/srcparser.cpp diff --git a/utils/HelpGen/src/srcparser.cpp b/utils/HelpGen/src/srcparser.cpp index 2875d44040..b0c12f40f4 100644 --- a/utils/HelpGen/src/srcparser.cpp +++ b/utils/HelpGen/src/srcparser.cpp @@ -24,7 +24,7 @@ #include "wx/wx.h" #endif -#ifdef HAVE_MALLOC_H +#ifndef __DARWIN__ # include #endif #include @@ -346,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()