]> git.saurik.com Git - wxWidgets.git/commitdiff
Since wxConditionInternal is a friend of wxMutex and wxMutex has copy
authorRobin Dunn <robin@alldunn.com>
Wed, 3 Apr 2002 01:16:04 +0000 (01:16 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 3 Apr 2002 01:16:04 +0000 (01:16 +0000)
prevention, then wxConditionInternal needs copy protection too so the
default copy and assignment won't generate link errors.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/thread.cpp

index c516a161d7b172e6e263d9aec6d456374fc15098..e2c76f9389403c4964138f1eb591905d9e6a4837 100644 (file)
@@ -371,6 +371,8 @@ private:
     wxMutex& m_mutex;
 
     wxSemaphore m_semaphore;
+
+    DECLARE_NO_COPY_CLASS(wxConditionInternal)
 };
 
 wxConditionInternal::wxConditionInternal(wxMutex& mutex)