removed tab characters

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Dimitri Schoolwerth 2004-05-04 14:25:07 +00:00
parent 3d2eaa5d59
commit ce1c674598

View File

@ -889,16 +889,16 @@ static bool memSectionOk = false;
class MemoryCriticalSection : public wxCriticalSection
{
public:
MemoryCriticalSection() {
memSectionOk = true;
}
MemoryCriticalSection() {
memSectionOk = true;
}
};
class MemoryCriticalSectionLocker
{
public:
inline MemoryCriticalSectionLocker(wxCriticalSection& critsect)
: m_critsect(critsect), m_locked(memSectionOk) { if(m_locked) m_critsect.Enter(); }
: m_critsect(critsect), m_locked(memSectionOk) { if(m_locked) m_critsect.Enter(); }
inline ~MemoryCriticalSectionLocker() { if(m_locked) m_critsect.Leave(); }
private:
@ -907,7 +907,7 @@ private:
MemoryCriticalSectionLocker& operator=(const MemoryCriticalSectionLocker&);
wxCriticalSection& m_critsect;
bool m_locked;
bool m_locked;
};
MemoryCriticalSection &GetMemLocker()