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:
Vadim Zeitlin 2015-04-06 23:15:42 +02:00
parent 0bc20fee71
commit 3ef04d4474

View File

@ -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);