wxDFB compilation fixes after recent brushes/pens changes (patch #1939986)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -48,7 +48,7 @@ public:
|
||||
if ( style != wxSOLID && style != wxTRANSPARENT )
|
||||
{
|
||||
wxFAIL_MSG( wxT("only wxSOLID and wxTRANSPARENT styles are supported") );
|
||||
style = wxSOLID;
|
||||
style = wxBRUSHSTYLE_SOLID;
|
||||
}
|
||||
|
||||
m_style = style;
|
||||
|
@@ -40,7 +40,7 @@ public:
|
||||
|
||||
virtual bool IsOk() const { return m_colour.IsOk(); }
|
||||
|
||||
void SetStyle(int style)
|
||||
void SetStyle(wxPenStyle style)
|
||||
{
|
||||
if ( style != wxPENSTYLE_SOLID && style != wxPENSTYLE_TRANSPARENT )
|
||||
{
|
||||
|
Reference in New Issue
Block a user