make the log file more readable; fix the count of warnings

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2008-03-24 13:02:01 +00:00
parent 71f8a117db
commit 4168bc452a
2 changed files with 6 additions and 2 deletions

View File

@@ -165,8 +165,11 @@ bool IfaceCheckApp::Compare()
} else {
// shorten the name of the header so the log file is more readable
wxString header = interface[i].GetHeader().AfterLast('/');
LogMessage("%s: couldn't find the real interface for the '%s' class",
interface[i].GetHeader(), cname);
header, cname);
ccount++;
}
}
@@ -244,6 +247,7 @@ int IfaceCheckApp::CompareClasses(const wxClass* iface, const wxClassPtrArray& a
LogWarning("%s: the method '%s' of classes '%s' has a different signature%s",
header, tofind, searchedclasses, tmp);
count++;
// try to modify it!
if (m_modify)