wxTheBrushList->RemoveBrush(this);
}
-wxBrush::wxBrush(const wxColour& col, const int Style)
+wxBrush::wxBrush(const wxColour& col, int Style)
{
m_refData = new wxBrushRefData;
wxTheBrushList->AddBrush(this);
}
-wxBrush::wxBrush(const wxString& col, const int Style)
+wxBrush::wxBrush(const wxString& col, int Style)
{
m_refData = new wxBrushRefData;
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;
RealizeResource();
}
-void wxBrush::SetStyle(const int Style)
+void wxBrush::SetStyle(int Style)
{
if ( !M_BRUSHDATA )
m_refData = new wxBrushRefData;