Add a wxLog::DoCreateOnDemand and call it from DoCommonPreInit so that
logging will work even if wxWidgets is reentered after being cleaned up. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -575,6 +575,11 @@ void wxLog::DontCreateOnDemand()
|
||||
ClearTraceMasks();
|
||||
}
|
||||
|
||||
void wxLog::DoCreateOnDemand()
|
||||
{
|
||||
ms_bAutoCreate = true;
|
||||
}
|
||||
|
||||
void wxLog::RemoveTraceMask(const wxString& str)
|
||||
{
|
||||
int index = ms_aTraceMasks.Index(str);
|
||||
|
Reference in New Issue
Block a user