From 723de43b24edd0771cc4a8446f110a74be5799f2 Mon Sep 17 00:00:00 2001 From: Francesco Montorsi Date: Sat, 4 Oct 2008 18:41:08 +0000 Subject: [PATCH] wxLogError=>LogError (in ifacecheck wxLog facilities are not used - actually I don't even remember why\!); fix wxScrolledT_Helper AD-HOC FIX git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- utils/ifacecheck/src/xmlparser.cpp | 12 ++++++------ utils/ifacecheck/src/xmlparser.h | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) 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... */ -- 2.47.2