// do it right now to block any new calls to Flush() while we're here
m_bHasMessages = false;
- const unsigned repeatCount = wxLog::LogLastRepetitionCountIfNeeded();
+ const unsigned repeatCount = LogLastRepetitionCountIfNeeded();
wxString appName = wxTheApp->GetAppDisplayName();