X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4799f3baab3805e51cc1754b89d855d32e94c232..562e60a0f2ef165ab75c999eb8002d547c3585aa:/src/cocoa/pen.mm

diff --git a/src/cocoa/pen.mm b/src/cocoa/pen.mm
index 0968133ffc..b5e6e36065 100644
--- a/src/cocoa/pen.mm
+++ b/src/cocoa/pen.mm
@@ -24,7 +24,6 @@
 // ========================================================================
 class WXDLLEXPORT wxPenRefData: public wxGDIRefData
 {
-    friend class WXDLLEXPORT wxPen;
 public:
     wxPenRefData(const wxColour& colour = wxNullColour,
         int width = 1, int style = wxSOLID,
@@ -79,6 +78,9 @@ protected:
     static const CGFloat scm_patternShortDash[];
     static const int scm_countDotDash;
     static const CGFloat scm_patternDotDash[];
+
+    friend class WXDLLIMPEXP_FWD_CORE wxPen;
+
 private:
     // Don't allow assignment
     wxPenRefData& operator=(const wxPenRefData& data);