]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/log.cpp
ParseDate() understands tomorrow and yesterday as well as today
[wxWidgets.git] / src / common / log.cpp
index 6d99576b99d69f9ca5e3a448fe7fd15c5c462516..076a9203e64272c37e705882f981099da4033a7d 100644 (file)
@@ -431,7 +431,11 @@ wxLog          *wxLog::ms_pLogger      = (wxLog *)NULL;
 bool            wxLog::ms_doLog        = TRUE;
 bool            wxLog::ms_bAutoCreate  = TRUE;
 
-const wxChar   *wxLog::ms_timestamp    = wxT("%X");  // time only, no date
+#if wxUSE_GUI
+    const wxChar *wxLog::ms_timestamp  = wxT("%X");  // time only, no date
+#else
+    const wxChar *wxLog::ms_timestamp  = NULL;       // save space
+#endif
 
 wxTraceMask     wxLog::ms_ulTraceMask  = (wxTraceMask)0;
 wxArrayString   wxLog::ms_aTraceMasks;