X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a3622daa901777a33969d8bc04e2d62dee14d164..72cb6ff3b3f6aa8f9ed8a3bf10e334f8eb50be99:/src/common/gdicmn.cpp diff --git a/src/common/gdicmn.cpp b/src/common/gdicmn.cpp index 639619c5a7..c6978df34b 100644 --- a/src/common/gdicmn.cpp +++ b/src/common/gdicmn.cpp @@ -20,6 +20,8 @@ #pragma hdrstop #endif +#include "wx/log.h" + #include "wx/gdicmn.h" #include "wx/brush.h" #include "wx/pen.h" @@ -257,6 +259,12 @@ wxColour *wxColourDatabase::FindColour(const wxString& colour) else return NULL; #endif +// TODO for other implementations. This should really go into +// platform-specific directories. +#ifdef __WXSTUBS__ + else return NULL; +#endif + #ifdef __WXGTK__ else { wxColour *col = new wxColour( colour ); @@ -378,7 +386,6 @@ void wxInitializeStockObjects () void wxDeleteStockObjects () { - wxDELETE(wxNORMAL_FONT); wxDELETE(wxSMALL_FONT); wxDELETE(wxITALIC_FONT); @@ -432,6 +439,8 @@ wxBitmapList::wxBitmapList () wxBitmapList::~wxBitmapList () { + wxLogDebug("~wxBitmapList: count = %d", Number()); + wxNode *node = First (); while (node) {