Fix ifacecheck utility build after array macro changes
Previously it was somehow possible to implicitly convert "false" to wxMethodPtrArray (which is an array of wxMethod pointers), but this, correctly, doesn't compile any more, so return an empty array instead.
This commit is contained in:
parent
a8cc8f5ae8
commit
f572856051
@ -613,7 +613,7 @@ wxMethodPtrArray wxClass::RecursiveUpwardFindMethodsNamed(const wxString& name,
|
||||
if (!parent) {
|
||||
wxLogError("Could not find parent '%s' of class '%s'...",
|
||||
m_parents[i], GetName());
|
||||
return false;
|
||||
return wxMethodPtrArray();
|
||||
}
|
||||
|
||||
wxMethodPtrArray temp = parent->RecursiveUpwardFindMethodsNamed(name, allclasses);
|
||||
|
Loading…
Reference in New Issue
Block a user