From aa17604d8debf2676a06106a77cf03290f78f010 Mon Sep 17 00:00:00 2001 From: Bryan Petty Date: Mon, 22 Dec 2008 06:26:40 +0000 Subject: [PATCH] Fixed regression in r57474 (this is the 2.8 branch, not trunk, treat strings like so). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/datetime.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/datetime.cpp b/src/common/datetime.cpp index 897c24ea17..61108a59c8 100644 --- a/src/common/datetime.cpp +++ b/src/common/datetime.cpp @@ -4276,7 +4276,7 @@ wxString wxTimeSpan::Format(const wxChar *format) const if ( IsNegative() ) { wxString str(Negate().Format(format)); - return "-" + str; + return _T("-") + str; } wxCHECK_MSG( format, wxEmptyString,