Use wxMilliClock_t to store values returned by wxGetLocalTimeMillis().
This fixes wxComboCtrl compilation with wxUSE_LONGLONG==0 as wxMilliClock_t is always mapped to the proper base type and hence can be used even if wxLongLong type is not defined. See #16939.
This commit is contained in:
committed by
Vadim Zeitlin
parent
a088915a56
commit
d8922744cf
@@ -1918,7 +1918,7 @@ bool wxComboCtrlBase::HandleButtonMouseEvent( wxMouseEvent& event,
|
||||
bool wxComboCtrlBase::PreprocessMouseEvent( wxMouseEvent& event,
|
||||
int WXUNUSED(flags) )
|
||||
{
|
||||
wxLongLong t = ::wxGetLocalTimeMillis();
|
||||
wxMilliClock_t t = ::wxGetLocalTimeMillis();
|
||||
int evtType = event.GetEventType();
|
||||
|
||||
#if USES_WXPOPUPWINDOW || USES_GENERICTLW
|
||||
|
Reference in New Issue
Block a user