diff --git a/utils/ifacecheck/src/xmlparser.cpp b/utils/ifacecheck/src/xmlparser.cpp index 26b1493b05..c3db7c9411 100644 --- a/utils/ifacecheck/src/xmlparser.cpp +++ b/utils/ifacecheck/src/xmlparser.cpp @@ -613,7 +613,7 @@ wxMethodPtrArray wxClass::RecursiveUpwardFindMethodsNamed(const wxString& name, if (!parent) { wxLogError("Could not find parent '%s' of class '%s'...", m_parents[i], GetName()); - return false; + return wxMethodPtrArray(); } wxMethodPtrArray temp = parent->RecursiveUpwardFindMethodsNamed(name, allclasses);