diff --git a/utils/ifacecheck/src/xmlparser.cpp b/utils/ifacecheck/src/xmlparser.cpp index 72147777b2..26b1493b05 100644 --- a/utils/ifacecheck/src/xmlparser.cpp +++ b/utils/ifacecheck/src/xmlparser.cpp @@ -570,7 +570,7 @@ const wxMethod* wxClass::RecursiveUpwardFindMethod(const wxMethod& m, if (!parent) { wxLogError("Could not find parent '%s' of class '%s'...", m_parents[i], GetName()); - return false; + return NULL; } const wxMethod *parentMethod = parent->RecursiveUpwardFindMethod(m, allclasses);