X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7a0007346b74ff5b754bc0b2f86aa018e8d7b4a0..fce3374f3533ed5dda2f26f238649ef197337010:/utils/ifacecheck/src/ifacecheck.cpp diff --git a/utils/ifacecheck/src/ifacecheck.cpp b/utils/ifacecheck/src/ifacecheck.cpp index efb72a14b1..5c6c6b4e63 100644 --- a/utils/ifacecheck/src/ifacecheck.cpp +++ b/utils/ifacecheck/src/ifacecheck.cpp @@ -301,7 +301,7 @@ int IfaceCheckApp::CompareClasses(const wxClass* iface, const wxClass* api) // search in the methods of the api classes provided real = api->RecursiveUpwardFindMethod(m, &m_gccInterface); - if (real) + if (!real) { bool exit = false; wxMethodPtrArray overloads = @@ -343,10 +343,11 @@ int IfaceCheckApp::CompareClasses(const wxClass* iface, const wxClass* api) warning += wxString::Format(": in the real headers there are %d overloads of '%s' for " "'%s' all with different signatures:\n", overloads.GetCount(), m.GetName(), api->GetName()); - else + else { warning += wxString::Format(": in the real headers there is a method '%s' for '%s'" " but has different signature:\n", m.GetName(), api->GetName()); + } // get a list of the prototypes with _all_ possible attributes: warning += "\tdoxy header: " + m.GetAsString(true, true, true, true);