Fix format string in wxLog::LogLastRepeatIfNeeded().
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 5 Nov 2011 11:23:51 +0000 (11:23 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 5 Nov 2011 11:23:51 +0000 (11:23 +0000)
commit23717034757c259cd578b6f72d74857e61e79817
treeeb5eaa653fba03aff2a6ea70360d3e910330eaff
parentb059c519bfd4830a8ca3dd58ca844ce623e6fcaa
Fix format string in wxLog::LogLastRepeatIfNeeded().

We used a format string without any format specifiers in it in a call to
wxString::Printf() which always had a parameter resulting in an assert failure
about a mismatch between the string and parameter count.

Fix this by using a separate Printf() call for this case.

Closes #13613.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/log.cpp