diff --git a/utils/ifacecheck/src/xmlparser.cpp b/utils/ifacecheck/src/xmlparser.cpp index 8f133feb20..e0d5803c4c 100644 --- a/utils/ifacecheck/src/xmlparser.cpp +++ b/utils/ifacecheck/src/xmlparser.cpp @@ -497,12 +497,12 @@ const wxMethod* wxClass::RecursiveUpwardFindMethod(const wxMethod& m, { // ignore non-wx-classes parents // AD-HOC FIX: discard wxScrolledT_Helper parent as it always gives errors - if (m_parents[i].StartsWith("wx") || m_parents[i] == "wxScrolledT_Helper") + if (m_parents[i].StartsWith("wx") && m_parents[i] != "wxScrolledT_Helper") { const wxClass *parent = allclasses->FindClass(m_parents[i]); if (!parent) { - wxLogError("Could not find parent '%s' of class '%s'...", - m_parents[i], GetName()); + LogError("Could not find parent '%s' of class '%s'...", + m_parents[i], GetName()); return false; } @@ -540,12 +540,12 @@ wxMethodPtrArray wxClass::RecursiveUpwardFindMethodsNamed(const wxString& name, for (unsigned int i=0; iFindClass(m_parents[i]); if (!parent) { - wxLogError("Could not find parent '%s' of class '%s'...", - m_parents[i], GetName()); + LogError("Could not find parent '%s' of class '%s'...", + m_parents[i], GetName()); return false; } diff --git a/utils/ifacecheck/src/xmlparser.h b/utils/ifacecheck/src/xmlparser.h index 8f2d2854fa..fc7a3a6f6a 100644 --- a/utils/ifacecheck/src/xmlparser.h +++ b/utils/ifacecheck/src/xmlparser.h @@ -27,7 +27,7 @@ ifacecheck sources with the string: // ADHOC-FIX: - + // ...fix description... */