]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/pen.h
more fixes for using wxSocket in console applications (patch 1756260)
[wxWidgets.git] / include / wx / mac / carbon / pen.h
index 7f51e0add1bf1d8964bde8015943828b9ef275ef..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);
@@ -43,9 +43,6 @@ public:
     }
 
 protected:
-    virtual wxObjectRefData* CreateRefData() const;
-    virtual wxObjectRefData* CloneRefData(const wxObjectRefData* data) const;
-
   int           m_width;
   int           m_style;
   int           m_join ;
@@ -111,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