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:
Artur Wieczorek
2015-04-03 21:47:13 +02:00
committed by Vadim Zeitlin
parent a088915a56
commit d8922744cf
4 changed files with 8 additions and 4 deletions

View File

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