X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34138703c3997ce676a1e713d9ff9eb020640da7..314055fa8d202ca0628a197877bfa299d3e7540d:/src/common/gdicmn.cpp?ds=sidebyside diff --git a/src/common/gdicmn.cpp b/src/common/gdicmn.cpp index 543e78e18d..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__ @@ -384,7 +386,6 @@ void wxInitializeStockObjects () void wxDeleteStockObjects () { - wxDELETE(wxNORMAL_FONT); wxDELETE(wxSMALL_FONT); wxDELETE(wxITALIC_FONT); @@ -438,6 +439,8 @@ wxBitmapList::wxBitmapList () wxBitmapList::~wxBitmapList () { + wxLogDebug("~wxBitmapList: count = %d", Number()); + wxNode *node = First (); while (node) {