git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6256
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxTE_MULTILINE );
logger = new wxLogTextCtrl( logWin );
wxTE_MULTILINE );
logger = new wxLogTextCtrl( logWin );
- logger->SetActiveTarget( logger );
+ m_logOld = logger->SetActiveTarget( logger );
logger->SetTimestamp( NULL );
// this will create a grid and, by default, an associated grid
logger->SetTimestamp( NULL );
// this will create a grid and, by default, an associated grid
GridFrame::~GridFrame()
{
GridFrame::~GridFrame()
{
+ delete wxLog::SetActiveTarget(m_logOld);