]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/log.cpp
don't assume there's always an active wxEventLoop instance
[wxWidgets.git] / src / common / log.cpp
index a42d6aaf893cbb268476fe5e78502cbcbea05770..0687124fe8ab11a65d9140f9316ad257e40d5e92 100644 (file)
@@ -329,7 +329,7 @@ void wxLog::OnLog(wxLogLevel level, const wxChar *szString, time_t t)
             {
                 if ( GetRepetitionCounting() )
                 {
-                    pLogger->DoLogNumberOfRepeats();
+                    DoLogNumberOfRepeats();
                 }
                 ms_prevString = szString;
                 ms_prevLevel = level;