]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/palmos/pen.h
correct access for virtuals, unneeded includes
[wxWidgets.git] / include / wx / palmos / pen.h
index 80c3c3f0d66d23076ed9bee438f5ccf63e67aaa3..6c86bb8e9b3a35494d088efc117f948ce1112f08 100644 (file)
@@ -77,17 +77,8 @@ public:
     wxPen();
     wxPen(const wxColour& col, int width = 1, int style = wxSOLID);
     wxPen(const wxBitmap& stipple, int width);
-    wxPen(const wxPen& pen) { Ref(pen); }
     virtual ~wxPen();
 
-    wxPen& operator=(const wxPen& pen)
-    {
-        if ( this != &pen )
-            Ref(pen);
-
-        return *this;
-    }
-
     bool operator==(const wxPen& pen) const
     {
         const wxPenRefData *penData = (wxPenRefData *)pen.m_refData;
@@ -128,7 +119,7 @@ public:
 
     // Internal
     bool RealizeResource();
-    bool FreeResource(bool force = FALSE);
+    bool FreeResource(bool force = false);
     WXHANDLE GetResourceHandle() const;
     bool IsFree() const;
     void Unshare();
@@ -138,4 +129,3 @@ private:
 };
 
 #endif // _WX_PEN_H_
-