]> git.saurik.com Git - wxWidgets.git/commitdiff
correct wrong last commit
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 7 Jan 2008 01:36:24 +0000 (01:36 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 7 Jan 2008 01:36:24 +0000 (01:36 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/datetime.h

index b990cfb508af923ca19211b5b1c45b3864e476db..5aac2b16d40046d8ee11a11bf2f9ffe7ba78ce70 100644 (file)
@@ -1108,11 +1108,11 @@ public:
         return date + (end - datestr.begin());
     }
 
-    const wchar_t *ParseFormat(const wchar_t *date,
-                               const wchar_t *format = wxDefaultDateTimeFormat,
-                               const wxDateTime& dateDef = wxDefaultDateTime)
+    const char *ParseFormat(const char *date,
+                            const wxString& format = L"%c",
+                            const wxDateTime& dateDef = wxDefaultDateTime)
     {
-        return ParseFormat(date, wxString(format), dateDef);
+        return ParseFormat(wxString(date), format, dateDef);
     }
 
     const char *ParseFormat(const char *date,