if (!(col->Ok())) {
delete col;
- return NULL;
+ return (wxColour *) NULL;
}
Append( colour, col );
return col;
if (the_colour)
return FindOrCreatePen (*the_colour, width, style);
else
- return NULL;
+ return (wxPen *) NULL;
}
wxBrushList::~wxBrushList ()
if (the_colour)
return FindOrCreateBrush (*the_colour, style);
else
- return NULL;
+ return (wxBrush *) NULL;
}
void wxBrushList::RemoveBrush (wxBrush * brush)