Source cleaning: whitespaces, tabs, -1/wxID_ANY/wxNOT_FOUND/wxDefaultCoord, TRUE/true, FALSE/false.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -222,7 +222,7 @@ wxLongLong wxGetLocalTimeMillis()
|
||||
wxLongLong now( nowft.dwHighDateTime, nowft.dwLowDateTime ); // time in 100 nanoseconds
|
||||
|
||||
return ( now - then ) / 10000.0; // time from 00:00:00 Jan 1st 1970 to now in milliseconds
|
||||
|
||||
|
||||
#elif defined(HAVE_GETTIMEOFDAY)
|
||||
struct timeval tp;
|
||||
if ( wxGetTimeOfDay(&tp, (struct timezone *)NULL) != -1 )
|
||||
@@ -244,7 +244,7 @@ wxLongLong wxGetLocalTimeMillis()
|
||||
val *= tp.time;
|
||||
return (val + tp.millitm);
|
||||
#elif defined(__WXMAC__)
|
||||
|
||||
|
||||
static UInt64 gMilliAtStart = 0;
|
||||
|
||||
Nanoseconds upTime = AbsoluteToNanoseconds( UpTime() );
|
||||
|
Reference in New Issue
Block a user