]> git.saurik.com Git - wxWidgets.git/commitdiff
wxUSE_LOG fixes.
authorWłodzimierz Skiba <abx@abx.art.pl>
Tue, 20 Jul 2004 19:30:21 +0000 (19:30 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Tue, 20 Jul 2004 19:30:21 +0000 (19:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

utils/configtool/src/wxconfigtool.cpp
utils/emulator/src/emulator.cpp

index cd2f5af42fb785dd5748f50a6b180f94b81fb1ab..e65386b853718426f3e3ee5ba83e43b103169b80 100644 (file)
@@ -58,7 +58,9 @@ ctApp::~ctApp()
 
 bool ctApp::OnInit(void)
 {
+#if wxUSE_LOG
     wxLog::SetTimestamp(NULL);
+#endif // wxUSE_LOG
     
     wxHelpProvider::Set(new wxSimpleHelpProvider);
 
index 4e44d87096aa3a0b124e4284e5ee7f83631f5793..199983c0b51a654e1491b336acb815d36a33ba8f 100644 (file)
@@ -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();