]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/log.cpp
Don't emit bogus size events if a child window
[wxWidgets.git] / src / common / log.cpp
index 73e6d1a58ae3f822c8ab637ef7a47f710dee25b5..275ed6dcd9f831b3665ed09da51a792289d032f1 100644 (file)
@@ -365,10 +365,14 @@ unsigned wxLog::DoLogNumberOfRepeats()
     if ( pLogger && ms_prevCounter > 0 )
     {
         wxString msg;
     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);
         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);
         ms_prevCounter = 0;
         ms_prevString.clear();
         pLogger->DoLog(ms_prevLevel, msg.c_str(), ms_prevTimeStamp);