VisualAge C++ V4.0 fixups, can't differentiate between time_t and double???

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2000-01-03 23:31:12 +00:00
parent 7ab9bf9f2d
commit 16ee521a22
2 changed files with 18 additions and 8 deletions

View File

@@ -62,6 +62,7 @@ wxDateTime wxDateTime::Today()
return wxDateTime(*tm);
}
#if (!(defined(__VISAGECPP__) && __IBMCPP__ >= 400))
wxDateTime& wxDateTime::Set(time_t timet)
{
// assign first to avoid long multiplication overflow!
@@ -70,16 +71,19 @@ wxDateTime& wxDateTime::Set(time_t timet)
return *this;
}
#endif
wxDateTime& wxDateTime::SetToCurrent()
{
return *this = Now();
}
#if (!(defined(__VISAGECPP__) && __IBMCPP__ >= 400))
wxDateTime::wxDateTime(time_t timet)
{
Set(timet);
}
#endif
wxDateTime::wxDateTime(const struct tm& tm)
{