X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2051c39fae88ff7a1cb964d7204cfa3356d4cbc5..6586750c6a4fa9084eaf5075006ca1fcfe50e818:/src/x11/brush.cpp diff --git a/src/x11/brush.cpp b/src/x11/brush.cpp index f3a0ecd8cb..80275b7fc5 100644 --- a/src/x11/brush.cpp +++ b/src/x11/brush.cpp @@ -112,21 +112,21 @@ bool wxBrush::operator == ( const wxBrush& brush ) const wxBrushStyle wxBrush::GetStyle() const { - wxCHECK_MSG( Ok(), wxBRUSHSTYLE_INVALID, _T("invalid brush") ); + wxCHECK_MSG( IsOk(), wxBRUSHSTYLE_INVALID, wxT("invalid brush") ); return M_BRUSHDATA->m_style; } -wxColour &wxBrush::GetColour() const +wxColour wxBrush::GetColour() const { - wxCHECK_MSG( Ok(), wxNullColour, _T("invalid brush") ); + wxCHECK_MSG( IsOk(), wxNullColour, wxT("invalid brush") ); return M_BRUSHDATA->m_colour; } wxBitmap *wxBrush::GetStipple() const { - wxCHECK_MSG( Ok(), NULL, _T("invalid brush") ); + wxCHECK_MSG( IsOk(), NULL, wxT("invalid brush") ); return &M_BRUSHDATA->m_stipple; }