From 9370ec6a3bf1e5e478b3a8b72c995c5914c9e537 Mon Sep 17 00:00:00 2001 From: Jaakko Salli Date: Mon, 28 Sep 2009 06:25:44 +0000 Subject: [PATCH] wxUSE_THREAD -> wxUSE_THREADS git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/propgrid/propgrid.h | 2 +- src/propgrid/propgrid.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/wx/propgrid/propgrid.h b/include/wx/propgrid/propgrid.h index a8dbe52937..95ad58a171 100644 --- a/include/wx/propgrid/propgrid.h +++ b/include/wx/propgrid/propgrid.h @@ -44,7 +44,7 @@ public: wxPGGlobalVarsClass(); ~wxPGGlobalVarsClass(); -#if wxUSE_THREAD +#if wxUSE_THREADS // Critical section for handling the globals. Generally it is not needed // since GUI code is supposed to be in single thread. However, // we do want the user to be able to convey wxPropertyGridEvents to other diff --git a/src/propgrid/propgrid.cpp b/src/propgrid/propgrid.cpp index a366de4640..18370b90df 100644 --- a/src/propgrid/propgrid.cpp +++ b/src/propgrid/propgrid.cpp @@ -582,7 +582,7 @@ wxPropertyGrid::~wxPropertyGrid() { size_t i; -#if wxUSE_THREAD +#if wxUSE_THREADS wxCriticalSectionLocker(wxPGGlobalVars->m_critSect); #endif @@ -5894,7 +5894,7 @@ void wxPropertyGridEvent::OnPropertyGridSet() if ( !m_pg ) return; -#if wxUSE_THREAD +#if wxUSE_THREADS wxCriticalSectionLocker(wxPGGlobalVars->m_critSect); #endif m_pg->m_liveEvents.push_back(this); @@ -5906,7 +5906,7 @@ wxPropertyGridEvent::~wxPropertyGridEvent() { if ( m_pg ) { - #if wxUSE_THREAD + #if wxUSE_THREADS wxCriticalSectionLocker(wxPGGlobalVars->m_critSect); #endif -- 2.45.2