add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-02-08 11:45:59 +00:00
parent 4800ca79ac
commit c0c133e13b
424 changed files with 715 additions and 704 deletions

View File

@@ -161,7 +161,7 @@ protected:
friend class wxConditionInternal;
DECLARE_NO_COPY_CLASS(wxMutex)
wxDECLARE_NO_COPY_CLASS(wxMutex);
};
// a helper class which locks the mutex in the ctor and unlocks it in the dtor:
@@ -266,7 +266,7 @@ private:
};
#endif // Unix&OS2/Win32
DECLARE_NO_COPY_CLASS(wxCriticalSection)
wxDECLARE_NO_COPY_CLASS(wxCriticalSection);
};
#if wxCRITSECT_IS_MUTEX
@@ -301,7 +301,7 @@ public:
private:
wxCriticalSection& m_critsect;
DECLARE_NO_COPY_CLASS(wxCriticalSectionLocker)
wxDECLARE_NO_COPY_CLASS(wxCriticalSectionLocker);
};
// ----------------------------------------------------------------------------
@@ -364,7 +364,7 @@ public:
private:
wxConditionInternal *m_internal;
DECLARE_NO_COPY_CLASS(wxCondition)
wxDECLARE_NO_COPY_CLASS(wxCondition);
};
#if WXWIN_COMPATIBILITY_2_6
@@ -409,7 +409,7 @@ public:
private:
wxSemaphoreInternal *m_internal;
DECLARE_NO_COPY_CLASS(wxSemaphore)
wxDECLARE_NO_COPY_CLASS(wxSemaphore);
};
// ----------------------------------------------------------------------------