]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/pen.h
OpenWatcom compilation fixes (patch 665959)
[wxWidgets.git] / include / wx / msw / pen.h
index a653d39db0a8975e033754576290dd7852320c4c..61ce98dfe90382df9b98d5fae6d2884c8638241a 100644 (file)
@@ -41,6 +41,14 @@ protected:
   wxDash *      m_dash ;
   wxColour      m_colour;
   WXHPEN        m_hPen;
   wxDash *      m_dash ;
   wxColour      m_colour;
   WXHPEN        m_hPen;
+
+private:
+// Cannot use
+//  DECLARE_NO_COPY_CLASS(wxPenRefData)
+// 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:
+    wxPenRefData& operator=(const wxPenRefData&);
 };
 
 #define M_PENDATA ((wxPenRefData *)m_refData)
 };
 
 #define M_PENDATA ((wxPenRefData *)m_refData)