X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0dbd6262a9ee7d735fb3930707346298f71b2cb7..3f4fc7967b595ea8257696baff78e1866511223d:/include/wx/mac/pen.h?ds=inline diff --git a/include/wx/mac/pen.h b/include/wx/mac/pen.h index 938908b56b..4da77c1586 100644 --- a/include/wx/mac/pen.h +++ b/include/wx/mac/pen.h @@ -20,7 +20,7 @@ #include "wx/colour.h" #include "wx/bitmap.h" -typedef long wxDash ; +typedef long wxMACDash; class WXDLLEXPORT wxPen; @@ -39,7 +39,7 @@ protected: int m_cap ; wxBitmap m_stipple ; int m_nbDash ; - wxDash * m_dash ; + wxMACDash * m_dash ; wxColour m_colour; /* TODO: implementation WXHPEN m_hPen; @@ -81,8 +81,10 @@ public: inline int GetStyle() const { return (M_PENDATA ? M_PENDATA->m_style : 0); }; inline int GetJoin() const { return (M_PENDATA ? M_PENDATA->m_join : 0); }; inline int GetCap() const { return (M_PENDATA ? M_PENDATA->m_cap : 0); }; - inline int GetDashes(wxDash **ptr) const { - *ptr = (M_PENDATA ? M_PENDATA->m_dash : (wxDash*) NULL); return (M_PENDATA ? M_PENDATA->m_nbDash : 0); + inline int GetDashes(wxDash **ptr) const + { + *ptr = (M_PENDATA ? (wxDash*)M_PENDATA->m_dash : (wxDash*) NULL); + return (M_PENDATA ? M_PENDATA->m_nbDash : 0); } inline wxBitmap *GetStipple() const { return (M_PENDATA ? (& M_PENDATA->m_stipple) : (wxBitmap*) NULL); };