use DECLARE_NO_COPY_CLASS() where applicable (patch 633384)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -174,6 +174,8 @@ private:
|
||||
wxMutexError LockTimeout(DWORD milliseconds);
|
||||
|
||||
HANDLE m_mutex;
|
||||
|
||||
DECLARE_NO_COPY_CLASS(wxMutexInternal)
|
||||
};
|
||||
|
||||
// all mutexes are recursive under Win32 so we don't use mutexType
|
||||
@@ -272,6 +274,8 @@ public:
|
||||
|
||||
private:
|
||||
HANDLE m_semaphore;
|
||||
|
||||
DECLARE_NO_COPY_CLASS(wxSemaphoreInternal)
|
||||
};
|
||||
|
||||
wxSemaphoreInternal::wxSemaphoreInternal(int initialcount, int maxcount)
|
||||
@@ -536,6 +540,8 @@ private:
|
||||
wxThreadState m_state; // state, see wxThreadState enum
|
||||
unsigned int m_priority; // thread priority in "wx" units
|
||||
DWORD m_tid; // thread id
|
||||
|
||||
DECLARE_NO_COPY_CLASS(wxThreadInternal)
|
||||
};
|
||||
|
||||
THREAD_RETVAL THREAD_CALLCONV wxThreadInternal::WinThreadStart(void *param)
|
||||
|
Reference in New Issue
Block a user