int m_cap ;
wxBitmap m_stipple ;
int m_nbDash ;
- wxMSWDash * m_dash ;
+ wxDash * m_dash ;
wxColour m_colour;
WXHPEN m_hPen;
};
~wxPen();
inline wxPen& operator = (const wxPen& pen) { if (*this == pen) return (*this); Ref(pen); return *this; }
- inline bool operator == (const wxPen& pen) { return m_refData == pen.m_refData; }
- inline bool operator != (const wxPen& pen) { return m_refData != pen.m_refData; }
+ inline bool operator == (const wxPen& pen) const { return m_refData == pen.m_refData; }
+ inline bool operator != (const wxPen& pen) const { return m_refData != pen.m_refData; }
virtual bool Ok() const { return (m_refData != NULL) ; }
// Internal
bool RealizeResource();
bool FreeResource(bool force = FALSE);
- WXHANDLE GetResourceHandle() ;
+ WXHANDLE GetResourceHandle() const;
bool IsFree() const;
void Unshare();
};