1. wxLongLong and wxDateTime compilation fixed for the compilers without native
"long long" type (and some code in timercmn.cpp too) 2. wxDate and wxTime reimplemented using wxDateTime (old versions tagged as OLD_DATE_AND_TIME) 3. wxString::To(U)Long and ToDouble added and documented 4. bug with combobox in toolbar (drop down list wasn't dismissed) fixed 5. several wxDateTime::Parse() functions implemented 6. added support for coloured buttons under MSW (not completely finished) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -103,7 +103,7 @@ long wxStopWatch::GetElapsedTime() const
|
||||
// old timer functions superceded by wxStopWatch
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
static wxLongLong wxStartTime = 0;
|
||||
static wxLongLong wxStartTime = 0l;
|
||||
|
||||
// starts the global timer
|
||||
void wxStartTimer()
|
||||
@@ -211,7 +211,8 @@ wxLongLong wxGetLocalTimeMillis()
|
||||
// 00:00:00 Jan 1st 1970 and then whatever is available
|
||||
// to get millisecond resolution.
|
||||
//
|
||||
wxLongLong val = 1000 * wxGetLocalTime();
|
||||
wxLongLong val = 1000l;
|
||||
val *= wxGetLocalTime();
|
||||
|
||||
// If we got here, do not fail even if we can't get
|
||||
// millisecond resolution.
|
||||
|
||||
Reference in New Issue
Block a user