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:
parent
0bc20fee71
commit
3ef04d4474
@ -570,7 +570,7 @@ const wxMethod* wxClass::RecursiveUpwardFindMethod(const wxMethod& m,
|
||||
if (!parent) {
|
||||
wxLogError("Could not find parent '%s' of class '%s'...",
|
||||
m_parents[i], GetName());
|
||||
return false;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
const wxMethod *parentMethod = parent->RecursiveUpwardFindMethod(m, allclasses);
|
||||
|
Loading…
Reference in New Issue
Block a user