]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/pen.h
Initial commit of native OS X list ctrl support. Compile tested on Win, Mac, FC4...
[wxWidgets.git] / include / wx / x11 / pen.h
index d5c042a14d00ae4e5f05a97950eda7287c57479f..eeff1b0756a134e8527fe2b8477d67ae00238137 100644 (file)
@@ -36,10 +36,7 @@ public:
 
     wxPen( const wxColour &colour, int width = 1, int style = wxSOLID );
     wxPen( const wxBitmap &stipple, int width );
-    ~wxPen();
-
-    wxPen( const wxPen& pen ) { Ref(pen); }
-    wxPen& operator = ( const wxPen& pen ) { Ref(pen); return *this; }
+    virtual ~wxPen();
 
     bool Ok() const { return m_refData != NULL; }
 
@@ -65,7 +62,7 @@ public:
     wxDash* GetDash() const;
     wxBitmap* GetStipple() const;
 
-private:
+protected:
     // ref counting code
     virtual wxObjectRefData *CreateRefData() const;
     virtual wxObjectRefData *CloneRefData(const wxObjectRefData *data) const;