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:
Artur Wieczorek
2015-04-03 21:10:04 +02:00
parent 6a7b95f419
commit cc575a7a89
4 changed files with 7 additions and 7 deletions

View File

@@ -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;