diff --git a/include/wx/html/htmlwin.h b/include/wx/html/htmlwin.h index 1fc783eb87..2561691e36 100644 --- a/include/wx/html/htmlwin.h +++ b/include/wx/html/htmlwin.h @@ -16,6 +16,7 @@ #include "wx/window.h" #include "wx/scrolwin.h" #include "wx/config.h" +#include "wx/stopwatch.h" #include "wx/html/winpars.h" #include "wx/html/htmlcell.h" #include "wx/filesys.h" @@ -310,7 +311,8 @@ protected: #if wxUSE_CLIPBOARD // time of the last doubleclick event, used to detect tripleclicks // (tripleclicks are used to select whole line): - wxLongLong m_lastDoubleClick; + wxMilliClock_t m_lastDoubleClick; +#endif // wxUSE_LONGLONG/!wxUSE_LONGLONG // helper class to automatically scroll the window if the user is selecting // text and the mouse leaves wxHtmlWindow: