delete the old log target if one had been created somehow even before DoCommonPreInit() was called
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -217,7 +217,7 @@ static bool DoCommonPreInit()
|
|||||||
// initialization simply disappear under Windows
|
// initialization simply disappear under Windows
|
||||||
//
|
//
|
||||||
// note that we will delete this log target below
|
// note that we will delete this log target below
|
||||||
wxLog::SetActiveTarget(new wxLogBuffer);
|
delete wxLog::SetActiveTarget(new wxLogBuffer);
|
||||||
#endif // wxUSE_LOG
|
#endif // wxUSE_LOG
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user