X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ad05396006ee3655f079bd2a3c57ac0e3e7e8828..3dc0174140ffc52a08fd5b64cf839babad09e5cf:/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()