virtual bool IsOk() const { return m_colour.IsOk(); }
- void SetStyle(int style)
+ void SetStyle(wxPenStyle style)
{
if ( style != wxPENSTYLE_SOLID && style != wxPENSTYLE_TRANSPARENT )
{
return 1;
}
-wxColour &wxPen::GetColour() const
+wxColour wxPen::GetColour() const
{
wxCHECK_MSG( Ok(), wxNullColour, wxT("invalid pen") );