
12 Apr
2006
12 Apr
'06
6:16 p.m.
in my frame im instantiating it here m_txtctrl = new wxTextCtrl( this, id_txtctrl, "", wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE | wxTE_READONLY ); m_logger = new wxLogTextCtrl( m_txtctrl ); m_logger->SetActiveTarget(m_logger); I have narrowed it down to this, if I comment this line m_logger->SetActiveTarget(m_logger); the leak goes away Detected memory leaks! Dumping objects -> {2446} normal block at 0x00B2ABC8, 48 bytes long. Data: <x1Y > 78 31 59 00 00 00 00 00 00 00 00 00 00 00 00 00 Object dump complete. -- Happy coding :) Richard V. Day richardvday@verizon.net richardvday@yahoo.com