fix bug when warning string contains percent signs

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi 2009-03-16 17:53:07 +00:00
parent 181c400b74
commit d196416cad

View File

@ -392,7 +392,7 @@ int IfaceCheckApp::CompareClasses(const wxClass* iface, const wxClass* api)
for (unsigned int j=0; j<overloads.GetCount(); j++)
warning += "\n\treal header: " + overloads[j]->GetAsString(true, true, true, true);
wxLogWarning(warning);
wxLogWarning("%s", warning);
count++;
if (overloads.GetCount()>1)