]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/pen.h
cleanup
[wxWidgets.git] / include / wx / mac / carbon / pen.h
index 511d9a456c9a148722d6b88b87e5bd49e8748247..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();
 
-  // When setting properties, we must make sure we're not changing
-  // another object
-  void Unshare();
+private:
+    void Unshare();
 };
 
 #endif