X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f2a55e34ab1f8fa99dfd2f7ca5488685395db28..fb2957900c9c38ffa03b4ab2ea6cbcc1e23ecc7d:/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))