Allow wxUSE_INTL==0 builds.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba 2006-07-25 09:08:46 +00:00
parent bb90a3e6fd
commit 459b97dfcb

View File

@ -365,10 +365,14 @@ unsigned wxLog::DoLogNumberOfRepeats()
if ( pLogger && ms_prevCounter > 0 )
{
wxString msg;
#if wxUSE_INTL
msg.Printf(wxPLURAL("The previous message repeated once.",
"The previous message repeated %lu times.",
ms_prevCounter),
ms_prevCounter);
#else
msg.Printf(wxT("The previous message was repeated."));
#endif
ms_prevCounter = 0;
ms_prevString.clear();
pLogger->DoLog(ms_prevLevel, msg.c_str(), ms_prevTimeStamp);