]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/pen.h
wxChar -> char
[wxWidgets.git] / include / wx / mac / carbon / pen.h
index 6603b40069c276a918abdcb06763017761cf7609..859448d1544d01a0e861d31b8a152000b278b712 100644 (file)
 #include "wx/colour.h"
 #include "wx/bitmap.h"
 
-class WXDLLEXPORT wxPen;
+class WXDLLIMPEXP_FWD_CORE wxPen;
 
 class WXDLLEXPORT wxPenRefData: public wxGDIRefData
 {
-    friend class WXDLLEXPORT wxPen;
+    friend class WXDLLIMPEXP_FWD_CORE wxPen;
 public:
     wxPenRefData();
     wxPenRefData(const wxPenRefData& data);
@@ -108,9 +108,8 @@ public:
   // Useful helper: create the brush resource
   bool RealizeResource();
 
-protected:
-    virtual wxObjectRefData* CreateRefData() const;
-    virtual wxObjectRefData* CloneRefData(const wxObjectRefData* data) const;
+private:
+    void Unshare();
 };
 
 #endif