wxLog::~wxLog -> calls wxLog::DoLogNumberOfRepeats
Jan Knepper
jan at smartsoft.us
Thu Nov 1 05:32:14 PDT 2007
Guys,
Just noticed (because we use wxLog derived logging mechanisms) that
wxLog::~wxLog in one of the later releases calls
wxLog::DoLogNumberOfRepeats.
wxLog::DoLogNumberOfRepeats in turns calls GetActiveTarget which of
course will happily create a new log target. I am not sure if this is
the intended result. As the code in src/common/init.cpp: wxEntryStart does
delete wxLog::SetActiveTarget ( NULL ) to remove the temporary
wxLogBuffer. However this creates a wxLogGui.
Thanks!
Jan
--
ManiaC++
Jan Knepper
Smartsoft, LLC
88 Petersburg Road
Petersburg, NJ 08270
U.S.A.
www.smartsoft.us
Phone : 609-628-4260
FAX : 609-628-1267
Y! : janknepper
But as for me and my household, we shall use Mozilla...
www.mozilla.org
Get legal - Get OpenOffice.org www.openoffice.org
More information about the wx-dev
mailing list