From: Václav Slavík Date: Tue, 19 Jun 2007 16:06:26 +0000 (+0000) Subject: compilation fix for non-STL build X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/cb296f303e52202aae710d45e06ebaaadd1be1b2?ds=sidebyside compilation fix for non-STL build git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/log.cpp b/src/common/log.cpp index f120d6440d..1919342e23 100644 --- a/src/common/log.cpp +++ b/src/common/log.cpp @@ -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;