X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a3622daa901777a33969d8bc04e2d62dee14d164..314055fa8d202ca0628a197877bfa299d3e7540d:/src/common/gdicmn.cpp diff --git a/src/common/gdicmn.cpp b/src/common/gdicmn.cpp index 639619c5a7..e67704f9b5 100644 --- a/src/common/gdicmn.cpp +++ b/src/common/gdicmn.cpp @@ -20,6 +20,7 @@ #pragma hdrstop #endif + #include "wx/gdicmn.h" #include "wx/brush.h" #include "wx/pen.h" @@ -29,6 +30,7 @@ #include "wx/font.h" #include "wx/palette.h" +#include "wx/log.h" #include #ifdef __WXMSW__ @@ -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) {