git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53156
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if ( style != wxSOLID && style != wxTRANSPARENT )
{
wxFAIL_MSG( wxT("only wxSOLID and wxTRANSPARENT styles are supported") );
if ( style != wxSOLID && style != wxTRANSPARENT )
{
wxFAIL_MSG( wxT("only wxSOLID and wxTRANSPARENT styles are supported") );
+ style = wxBRUSHSTYLE_SOLID;
virtual bool IsOk() const { return m_colour.IsOk(); }
virtual bool IsOk() const { return m_colour.IsOk(); }
- void SetStyle(int style)
+ void SetStyle(wxPenStyle style)
{
if ( style != wxPENSTYLE_SOLID && style != wxPENSTYLE_TRANSPARENT )
{
{
if ( style != wxPENSTYLE_SOLID && style != wxPENSTYLE_TRANSPARENT )
{