Use in wxPG classes wxMilliClock_t variables to store values returned by wxGetLocalTimeMillis() function.
wxMilliClock_t is always mapped to the proper base type and hence can be used even if wxLongLong type is not defined (when wxUSE_LONGLONG is disabled).
This commit is contained in:
@@ -1815,7 +1815,7 @@ protected:
|
||||
wxBitmap *m_doubleBuffer;
|
||||
|
||||
/** Local time ms when control was created. */
|
||||
wxLongLong m_timeCreated;
|
||||
wxMilliClock_t m_timeCreated;
|
||||
|
||||
/** wxPGProperty::OnEvent can change value by setting this. */
|
||||
wxVariant m_changeInEventValue;
|
||||
@@ -2025,7 +2025,7 @@ protected:
|
||||
wxWindow* m_tlpClosed;
|
||||
|
||||
// Local time ms when tlp was closed.
|
||||
wxLongLong m_tlpClosedTime;
|
||||
wxMilliClock_t m_tlpClosedTime;
|
||||
|
||||
// Sort function
|
||||
wxPGSortCallback m_sortFunction;
|
||||
|
Reference in New Issue
Block a user