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
This commit is contained in:
Francesco Montorsi
2008-10-04 18:41:08 +00:00
parent 77bfb90222
commit 723de43b24
2 changed files with 7 additions and 7 deletions

View 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;
}