]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/datetime.cpp
Fix most of the Objective-C GC problems by using the stronger CFRetain/CFRelease...
[wxWidgets.git] / src / common / datetime.cpp
index c2d360ccc0f3d66bdc0054d6aa972fa992cfbdc6..3d131c9503867dcc1f7cac73ab11e54061759d98 100644 (file)
@@ -93,7 +93,7 @@ const long wxDateTime::TIME_T_FACTOR = 1000l;
 
 template<> void wxStringReadValue(const wxString &s , wxDateTime &data )
 {
-    data.ParseFormat(s,"%Y-%m-%d %H:%M:%S");
+    data.ParseFormat(s,"%Y-%m-%d %H:%M:%S", NULL);
 }
 
 template<> void wxStringWriteValue(wxString &s , const wxDateTime &data )