Use NULL, not false, for a pointer.
No real changes, just fix clang warning about returning "false" from a function returning a pointer.
This commit is contained in:
@@ -570,7 +570,7 @@ const wxMethod* wxClass::RecursiveUpwardFindMethod(const wxMethod& m,
|
|||||||
if (!parent) {
|
if (!parent) {
|
||||||
wxLogError("Could not find parent '%s' of class '%s'...",
|
wxLogError("Could not find parent '%s' of class '%s'...",
|
||||||
m_parents[i], GetName());
|
m_parents[i], GetName());
|
||||||
return false;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
const wxMethod *parentMethod = parent->RecursiveUpwardFindMethod(m, allclasses);
|
const wxMethod *parentMethod = parent->RecursiveUpwardFindMethod(m, allclasses);
|
||||||
|
Reference in New Issue
Block a user