git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47510
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#if wxUSE_LONGLONG
typedef wxLongLong wxMilliClock_t;
#if wxUSE_LONGLONG
typedef wxLongLong wxMilliClock_t;
+ inline long wxMilliClockToLong(wxLongLong ll) { return ll.ToLong(); }
#else
typedef double wxMilliClock_t;
#else
typedef double wxMilliClock_t;
+ inline long wxMilliClockToLong(double d) { return wx_truncate_cast(long, d); }
#endif // wxUSE_LONGLONG
// Get number of milliseconds since local time 00:00:00 Jan 1st 1970
#endif // wxUSE_LONGLONG
// Get number of milliseconds since local time 00:00:00 Jan 1st 1970