]> git.saurik.com Git - wxWidgets.git/commitdiff
(blind) compilation fix for Borland after last commit
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 29 Aug 2005 13:48:56 +0000 (13:48 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 29 Aug 2005 13:48:56 +0000 (13:48 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/datetime.cpp

index 7ee3917095f3f35b3d3e5b10905b08b22751407e..4aa2d7ce3cb95fc8053955f14640c1ad66ee0777 100644 (file)
@@ -2851,7 +2851,7 @@ const wxChar *wxDateTime::ParseRfc822Date(const wxChar* date)
 
     // the spec was correct, construct the date from the values we found
     Set(day, mon, year, hour, min, sec);
-    MakeFromTimezone(offset*SEC_PER_MIN);
+    MakeFromTimezone(TimeZone(offset*SEC_PER_MIN));
 
     return p;
 }