From: Włodzimierz Skiba Date: Tue, 20 Jul 2004 19:30:21 +0000 (+0000) Subject: wxUSE_LOG fixes. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/453bacf43306da349d82fa38a2d52a60358d1d22 wxUSE_LOG fixes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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();