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:
@@ -497,12 +497,12 @@ const wxMethod* wxClass::RecursiveUpwardFindMethod(const wxMethod& m,
|
|||||||
{
|
{
|
||||||
// ignore non-wx-classes parents
|
// ignore non-wx-classes parents
|
||||||
// AD-HOC FIX: discard wxScrolledT_Helper parent as it always gives errors
|
// 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]);
|
const wxClass *parent = allclasses->FindClass(m_parents[i]);
|
||||||
if (!parent) {
|
if (!parent) {
|
||||||
wxLogError("Could not find parent '%s' of class '%s'...",
|
LogError("Could not find parent '%s' of class '%s'...",
|
||||||
m_parents[i], GetName());
|
m_parents[i], GetName());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -540,12 +540,12 @@ wxMethodPtrArray wxClass::RecursiveUpwardFindMethodsNamed(const wxString& name,
|
|||||||
for (unsigned int i=0; i<m_parents.GetCount(); i++)
|
for (unsigned int i=0; i<m_parents.GetCount(); i++)
|
||||||
{
|
{
|
||||||
// AD-HOC FIX: discard wxScrolledT_Helper parent as it always gives errors
|
// 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]);
|
const wxClass *parent = allclasses->FindClass(m_parents[i]);
|
||||||
if (!parent) {
|
if (!parent) {
|
||||||
wxLogError("Could not find parent '%s' of class '%s'...",
|
LogError("Could not find parent '%s' of class '%s'...",
|
||||||
m_parents[i], GetName());
|
m_parents[i], GetName());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -27,7 +27,7 @@
|
|||||||
ifacecheck sources with the string:
|
ifacecheck sources with the string:
|
||||||
|
|
||||||
// ADHOC-FIX:
|
// ADHOC-FIX:
|
||||||
|
// ...fix description...
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user