]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/log.cpp
centralized Esc key handling for closing the dialogs in wxDialogBase:
[wxWidgets.git] / src / common / log.cpp
index b58b349dacc8541c15ff4e4b09b8dd6469fd7e33..275ed6dcd9f831b3665ed09da51a792289d032f1 100644 (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);
@@ -754,7 +758,7 @@ wxLogPassThrough::wxLogPassThrough()
 
 bool            wxLog::ms_bRepetCounting = false;
 wxString        wxLog::ms_prevString;
-size_t          wxLog::ms_prevCounter = 0;
+unsigned int    wxLog::ms_prevCounter = 0;
 time_t          wxLog::ms_prevTimeStamp= 0;
 wxLogLevel      wxLog::ms_prevLevel;