X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e17cd59f72d52833b8132be9245fa6d517fe266f..9d5507f7a2701395e1d5c121bd877bb9066ee6ea:/src/dfb/brush.cpp diff --git a/src/dfb/brush.cpp b/src/dfb/brush.cpp index f3d4f8c78c..93209e3362 100644 --- a/src/dfb/brush.cpp +++ b/src/dfb/brush.cpp @@ -45,7 +45,7 @@ public: { if ( style != wxSOLID && style != wxTRANSPARENT ) { - wxFAIL_MSG( _T("only wxSOLID and wxTRANSPARENT styles are supported") ); + wxFAIL_MSG( wxT("only wxSOLID and wxTRANSPARENT styles are supported") ); style = wxSOLID; } @@ -69,7 +69,7 @@ wxBrush::wxBrush(const wxColour &colour, int style) wxBrush::wxBrush(const wxBitmap &stippleBitmap) { - wxFAIL_MSG( "brushes with stipple bitmaps not implemented" ); + wxFAIL_MSG( wxT("brushes with stipple bitmaps not implemented") ); m_refData = new wxBrushRefData(*wxBLACK); } @@ -80,7 +80,7 @@ bool wxBrush::operator==(const wxBrush& brush) const return m_refData == brush.m_refData; } -bool wxBrush::Ok() const +bool wxBrush::IsOk() const { return ((m_refData) && M_BRUSHDATA->m_colour.Ok()); } @@ -109,7 +109,7 @@ wxColour& wxBrush::GetColour() const wxBitmap *wxBrush::GetStipple() const { - wxFAIL_MSG( "brushes with stipple bitmaps not implemented" ); + wxFAIL_MSG( wxT("brushes with stipple bitmaps not implemented") ); return &wxNullBitmap; } @@ -133,7 +133,7 @@ void wxBrush::SetStyle(int style) void wxBrush::SetStipple(const wxBitmap& WXUNUSED(stipple)) { - wxFAIL_MSG( "brushes with stipple bitmaps not implemented" ); + wxFAIL_MSG( wxT("brushes with stipple bitmaps not implemented") ); } wxObjectRefData *wxBrush::CreateRefData() const