From 453bacf43306da349d82fa38a2d52a60358d1d22 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Tue, 20 Jul 2004 19:30:21 +0000 Subject: [PATCH] wxUSE_LOG fixes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- utils/configtool/src/wxconfigtool.cpp | 2 ++ utils/emulator/src/emulator.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/utils/configtool/src/wxconfigtool.cpp b/utils/configtool/src/wxconfigtool.cpp index cd2f5af42f..e65386b853 100644 --- a/utils/configtool/src/wxconfigtool.cpp +++ b/utils/configtool/src/wxconfigtool.cpp @@ -58,7 +58,9 @@ ctApp::~ctApp() bool ctApp::OnInit(void) { +#if wxUSE_LOG wxLog::SetTimestamp(NULL); +#endif // wxUSE_LOG wxHelpProvider::Set(new wxSimpleHelpProvider); diff --git a/utils/emulator/src/emulator.cpp b/utils/emulator/src/emulator.cpp index 4e44d87096..199983c0b5 100644 --- a/utils/emulator/src/emulator.cpp +++ b/utils/emulator/src/emulator.cpp @@ -108,7 +108,9 @@ wxEmulatorApp::wxEmulatorApp() // 'Main program' equivalent: the program execution "starts" here bool wxEmulatorApp::OnInit() { +#if wxUSE_LOG wxLog::SetTimestamp(NULL); +#endif // wxUSE_LOG wxInitAllImageHandlers(); wxString currentDir = wxGetCwd(); -- 2.49.0