Removed another occurrence of previous log critical section (should have been

part of r61417).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-07-12 17:10:30 +00:00
parent 16b1f6fc50
commit 24723aa565

View File

@@ -100,13 +100,6 @@ inline wxCriticalSection& GetTraceMaskCS()
return s_csTrace;
}
inline wxCriticalSection& GetPreviousLogCS()
{
static wxCriticalSection s_csPrev;
return s_csPrev;
}
inline wxCriticalSection& GetLevelsCS()
{
static wxCriticalSection s_csLevels;
@@ -294,8 +287,6 @@ wxLog::OnLogInMainThread(wxLogLevel level,
{
if ( GetRepetitionCounting() )
{
wxCRIT_SECT_LOCKER(lock, GetPreviousLogCS());
if ( msg == gs_prevLog.msg )
{
gs_prevLog.numRepeated++;