X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..333e57d578e9e0fb6555452b5a53698ffd85ee69:/include/wx/cocoa/pen.h diff --git a/include/wx/cocoa/pen.h b/include/wx/cocoa/pen.h index 9f46d56bec..7599f775a7 100644 --- a/include/wx/cocoa/pen.h +++ b/include/wx/cocoa/pen.h @@ -15,8 +15,8 @@ #include "wx/gdiobj.h" #include "wx/gdicmn.h" -class WXDLLEXPORT wxColour; -class WXDLLEXPORT wxBitmap; +class WXDLLIMPEXP_FWD_CORE wxColour; +class WXDLLIMPEXP_FWD_CORE wxBitmap; // ======================================================================== // wxPen @@ -39,7 +39,8 @@ public: inline bool operator != (const wxPen& pen) const { return m_refData != pen.m_refData; } - virtual bool Ok() const { return (m_refData != NULL) ; } + virtual bool Ok() const { return IsOk(); } + virtual bool IsOk() const { return (m_refData != NULL) ; } void SetColour(const wxColour& col) ; void SetColour(unsigned char r, unsigned char g, unsigned char b) ; @@ -60,7 +61,7 @@ public: wxBitmap *GetStipple() const; WX_NSColor GetNSColor(); - int GetCocoaLineDash(const float **pattern); + int GetCocoaLineDash(const CGFloat **pattern); }; #endif // __WX_COCOA_PEN_H__