diff --git a/samples/menu/menu.cpp b/samples/menu/menu.cpp index 97c563ab96..4a11c52c36 100644 --- a/samples/menu/menu.cpp +++ b/samples/menu/menu.cpp @@ -546,7 +546,7 @@ MyFrame::MyFrame() wxTE_MULTILINE); m_textctrl->SetEditable(false); - wxLog::SetTimestamp(NULL); + wxLog::DisableTimestamp(); m_logOld = wxLog::SetActiveTarget(new wxLogTextCtrl(m_textctrl)); wxLogMessage(_T("Brief explanations: the commands or the \"Menu\" menu ") diff --git a/utils/emulator/src/emulator.cpp b/utils/emulator/src/emulator.cpp index d316d3a146..92a2fb3229 100644 --- a/utils/emulator/src/emulator.cpp +++ b/utils/emulator/src/emulator.cpp @@ -105,7 +105,7 @@ wxEmulatorApp::wxEmulatorApp() bool wxEmulatorApp::OnInit() { #if wxUSE_LOG - wxLog::SetTimestamp(NULL); + wxLog::DisableTimestamp(); #endif // wxUSE_LOG wxInitAllImageHandlers();