X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2bda0e173844e8e0f8acf4e8ad8b5c26e5c6fe5d..a1a2adef0792a4accda1a7c48052dbfd9511c5fa:/src/msw/brush.cpp diff --git a/src/msw/brush.cpp b/src/msw/brush.cpp index 2b34ed2f23..f9043c2e1d 100644 --- a/src/msw/brush.cpp +++ b/src/msw/brush.cpp @@ -63,7 +63,7 @@ wxBrush::~wxBrush() wxTheBrushList->RemoveBrush(this); } -wxBrush::wxBrush(const wxColour& col, const int Style) +wxBrush::wxBrush(const wxColour& col, int Style) { m_refData = new wxBrushRefData; @@ -77,7 +77,7 @@ wxBrush::wxBrush(const wxColour& col, const int Style) wxTheBrushList->AddBrush(this); } -wxBrush::wxBrush(const wxString& col, const int Style) +wxBrush::wxBrush(const wxString& col, int Style) { m_refData = new wxBrushRefData; @@ -161,7 +161,7 @@ bool wxBrush::RealizeResource(void) M_BRUSHDATA->m_hBrush = (WXHBRUSH) CreateSolidBrush(ms_colour) ; break; } -#ifdef DEBUG_CREATE +#ifdef WXDEBUG_CREATE if (M_BRUSHDATA->m_hBrush==NULL) wxError("Cannot create brush","Internal error") ; #endif return TRUE; @@ -238,7 +238,7 @@ void wxBrush::SetColour(const unsigned char r, const unsigned char g, const unsi RealizeResource(); } -void wxBrush::SetStyle(const int Style) +void wxBrush::SetStyle(int Style) { if ( !M_BRUSHDATA ) m_refData = new wxBrushRefData;