The style may be one of the ::wxPenStyle values.
@remarks Different versions of Windows and different versions of other
- platforms support very different subsets of the styles
- above - there is no similarity even between Windows95
- and Windows98 - so handle with care.
+ platforms support very different subsets of the styles above
+ - there is no similarity even between Windows95 and Windows98 -
+ so handle with care.
@see SetStyle(), SetColour(), SetWidth()
*/
@param stipple
A stipple bitmap.
+ @onlyfor{wxmsw,wxmac}
+
@see SetWidth(), SetStipple()
*/
wxPen(const wxBitmap& stipple, int width);
@see GetDashes()
*/
- virtual void SetDashes(int n, wxDash* dashes);
+ virtual void SetDashes(int n, const wxDash* dash);
/**
Sets the pen join style, which may be one of @c wxJOIN_BEVEL, @c wxJOIN_ROUND
@see GetStipple()
*/
- virtual void SetStipple(wxBitmap* stipple);
+ virtual void SetStipple(const wxBitmap& stipple);
/**
Set the pen style.
/**
Assignment operator, using @ref overview_refcount.
*/
- wxPen operator =(const wxPen& pen);
+ wxPen& operator=(const wxPen& pen);
/**
Equality operator.