X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f2a55e34ab1f8fa99dfd2f7ca5488685395db28..b480710b16ac3b941ba55fd981f441fc6724c386:/include/wx/datetime.inl diff --git a/include/wx/datetime.inl b/include/wx/datetime.inl index 49567d1327..8d3112b6a4 100644 --- a/include/wx/datetime.inl +++ b/include/wx/datetime.inl @@ -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))