]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/pen.h
Borland apparently uses for int64 in printf(), not
[wxWidgets.git] / include / wx / msw / pen.h
index 3c56bdaa7077609730e062243da80fce4e7a243e..61ce98dfe90382df9b98d5fae6d2884c8638241a 100644 (file)
@@ -41,6 +41,14 @@ protected:
   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)
@@ -89,7 +97,7 @@ public:
   // Internal
   bool RealizeResource();
   bool FreeResource(bool force = FALSE);
-  WXHANDLE GetResourceHandle() ;
+  WXHANDLE GetResourceHandle() const;
   bool IsFree() const;
   void Unshare();
 };