]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for non-STL build
authorVáclav Slavík <vslavik@fastmail.fm>
Tue, 19 Jun 2007 16:06:26 +0000 (16:06 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Tue, 19 Jun 2007 16:06:26 +0000 (16:06 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/log.cpp

index f120d6440df38c4dd0720c36b84bdce98e0c938f..1919342e23b8b70f844bd39e992db24a7d94df4a 100644 (file)
@@ -611,7 +611,7 @@ void wxLog::ClearTraceMasks()
 void wxLog::TimeStamp(wxString *str)
 {
 #if wxUSE_DATETIME
-    if ( ms_timestamp )
+    if ( !ms_timestamp.empty() )
     {
         wxChar buf[256];
         time_t timeNow;