]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/datetime.inl
column autosizing added
[wxWidgets.git] / include / wx / datetime.inl
index 49567d13271f8c6c16e938d6c48b828d4766fb10..8d3112b6a43f763484373648389df3075a65d73e 100644 (file)
@@ -75,7 +75,8 @@ wxDateTime& wxDateTime::Set(time_t timet)
 
 wxDateTime& wxDateTime::SetToCurrent()
 {
-    return *this = Now();
+    *this = Now();
+    return *this;
 }
 
 #if (!(defined(__VISAGECPP__) && __IBMCPP__ >= 400))