use DisableTimestamp() instead of SetTimestamp(NULL)
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 27 Jun 2007 19:25:58 +0000 (19:25 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 27 Jun 2007 19:25:58 +0000 (19:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/menu/menu.cpp
utils/emulator/src/emulator.cpp

index 97c563ab968559e2b53db72e63e6e940ef0dc57a..4a11c52c36c891068658b9605708f880c9665b7b 100644 (file)
@@ -546,7 +546,7 @@ MyFrame::MyFrame()
                                 wxTE_MULTILINE);
     m_textctrl->SetEditable(false);
 
                                 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 ")
     m_logOld = wxLog::SetActiveTarget(new wxLogTextCtrl(m_textctrl));
 
     wxLogMessage(_T("Brief explanations: the commands or the \"Menu\" menu ")
index d316d3a146ec8d3387eddcb5640993f38b8144e4..92a2fb32291c0b41c703c8e5e6d06a10b964f25d 100644 (file)
@@ -105,7 +105,7 @@ wxEmulatorApp::wxEmulatorApp()
 bool wxEmulatorApp::OnInit()
 {
 #if wxUSE_LOG
 bool wxEmulatorApp::OnInit()
 {
 #if wxUSE_LOG
-    wxLog::SetTimestamp(NULL);
+    wxLog::DisableTimestamp();
 #endif // wxUSE_LOG
     wxInitAllImageHandlers();
 
 #endif // wxUSE_LOG
     wxInitAllImageHandlers();