X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ac3688c0d8a39d200f0556ad4b401d89b45ff04a..3cfde7c049bddf6fd3b4c2e35a6b8ecdcdc1d74f:/src/dfb/brush.cpp?ds=inline diff --git a/src/dfb/brush.cpp b/src/dfb/brush.cpp index efbd60cbbc..e636ecc33e 100644 --- a/src/dfb/brush.cpp +++ b/src/dfb/brush.cpp @@ -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; @@ -96,7 +96,7 @@ wxBrushStyle wxBrush::GetStyle() const return M_BRUSHDATA->m_style; } -wxColour& wxBrush::GetColour() const +wxColour wxBrush::GetColour() const { wxCHECK_MSG( Ok(), wxNullColour, _T("invalid brush") );