]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/pen.h
change the selection appropriately (and refresh it as needed) after deleting a notebo...
[wxWidgets.git] / include / wx / mac / pen.h
index 40c9b5c4bae4998ba41235beca9d3d21deca1c9d..5a36f8aeac2769ad474c03371b14c69eceaa53c3 100644 (file)
@@ -30,6 +30,8 @@ public:
     wxPenRefData(const wxPenRefData& data);
     ~wxPenRefData();
 
+    wxPenRefData& operator=(const wxPenRefData& data);
+
 protected:
   int           m_width;
   int           m_style;
@@ -54,7 +56,9 @@ public:
   wxPen();
   wxPen(const wxColour& col, int width, int style);
   wxPen(const wxBitmap& stipple, int width);
-  inline wxPen(const wxPen& pen) { Ref(pen); }
+  wxPen(const wxPen& pen)
+      : wxGDIObject()
+      { Ref(pen); }
   ~wxPen();
 
   inline wxPen& operator = (const wxPen& pen) { if (*this == pen) return (*this); Ref(pen); return *this; }