]> git.saurik.com Git - wxWidgets.git/commitdiff
wxLogError=>LogError (in ifacecheck wxLog facilities are not used - actually I don...
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sat, 4 Oct 2008 18:41:08 +0000 (18:41 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sat, 4 Oct 2008 18:41:08 +0000 (18:41 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

utils/ifacecheck/src/xmlparser.cpp
utils/ifacecheck/src/xmlparser.h

index 8f133feb20852a07b7ced80191bd32b1b639fe5e..e0d5803c4c5b64d9c29d913a2001d90186424abf 100644 (file)
@@ -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; i<m_parents.GetCount(); i++)
     {
         // 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;
             }
 
index 8f2d2854fa49b309df64fc52f04d0b2270c50011..fc7a3a6f6a5f3daceb625dd69d2479aa455150ed 100644 (file)
@@ -27,7 +27,7 @@
     ifacecheck sources with the string:
 
     // ADHOC-FIX:
-
+    // ...fix description...
 */