X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4c444f19cf1bdb3cb26bb3c123434fe23c808093..8fdca65cf20ae4dba861fa6667d6e233cbb900cf:/src/common/gdicmn.cpp diff --git a/src/common/gdicmn.cpp b/src/common/gdicmn.cpp index 1e98af34ef..7238bc9d0a 100644 --- a/src/common/gdicmn.cpp +++ b/src/common/gdicmn.cpp @@ -271,7 +271,7 @@ wxColour *wxColourDatabase::FindColour(const wxString& colour) if (!(col->Ok())) { delete col; - return NULL; + return (wxColour *) NULL; } Append( colour, col ); return col; @@ -439,7 +439,6 @@ wxBitmapList::wxBitmapList () wxBitmapList::~wxBitmapList () { - wxLogDebug("~wxBitmapList: count = %d", Number()); #ifdef __WXMSW__ wxNode *node = First (); @@ -509,7 +508,7 @@ wxPen *wxPenList::FindOrCreatePen (const wxString& colour, int width, int style) if (the_colour) return FindOrCreatePen (*the_colour, width, style); else - return NULL; + return (wxPen *) NULL; } wxBrushList::~wxBrushList () @@ -559,7 +558,7 @@ wxBrush *wxBrushList::FindOrCreateBrush (const wxString& colour, int style) if (the_colour) return FindOrCreateBrush (*the_colour, style); else - return NULL; + return (wxBrush *) NULL; } void wxBrushList::RemoveBrush (wxBrush * brush) @@ -569,7 +568,6 @@ void wxBrushList::RemoveBrush (wxBrush * brush) wxFontList::~wxFontList () { -#ifdef __WXMSW__ wxNode *node = First (); while (node) { @@ -583,7 +581,6 @@ wxFontList::~wxFontList () delete font; node = next; } -#endif } void wxFontList::AddFont (wxFont * font)