X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..b8d24d4edd1f91339918134d2420af39c324aa1f:/src/msw/region.cpp diff --git a/src/msw/region.cpp b/src/msw/region.cpp index 4da2054b10..1e6e76fab0 100644 --- a/src/msw/region.cpp +++ b/src/msw/region.cpp @@ -1,7 +1,7 @@ ///////////////////////////////////////////////////////////////////////////// // Name: msw/region.cpp // Purpose: wxRegion implementation using Win32 API -// Author: Markus Holzem, Vadim Zeitlin +// Author: Vadim Zeitlin // Modified by: // Created: Fri Oct 24 10:46:34 MET 1997 // RCS-ID: $Id$ @@ -70,6 +70,14 @@ public: } HRGN m_region; + +private: +// Cannot use +// DECLARE_NO_COPY_CLASS(wxRegionRefData) +// because copy constructor is explicitly declared above; +// but no copy assignment operator is defined, so declare +// it private to prevent the compiler from defining it: + wxRegionRefData& operator=(const wxRegionRefData&); }; #define M_REGION (((wxRegionRefData*)m_refData)->m_region)