From 459b97dfcb58bd4e1ca6f5e3f2302b069e779825 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Tue, 25 Jul 2006 09:08:46 +0000 Subject: [PATCH] Allow wxUSE_INTL==0 builds. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/log.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/common/log.cpp b/src/common/log.cpp index 73e6d1a58a..275ed6dcd9 100644 --- a/src/common/log.cpp +++ b/src/common/log.cpp @@ -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); -- 2.50.0