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:
@@ -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++;
|
||||
|
Reference in New Issue
Block a user