From f4ea128007bfba6365158a2e6eaca9c81f627c5a Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 24 Jan 2019 22:51:43 +0100 Subject: [PATCH] Include wx/stopwatch.h explicitly from wxTextCtrl unit test Don't rely on it being implicitly included from another header when we use wxStopWatch in this file (with wxGTK only). --- tests/controls/textctrltest.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/controls/textctrltest.cpp b/tests/controls/textctrltest.cpp index cf41caef52..75fb647c48 100644 --- a/tests/controls/textctrltest.cpp +++ b/tests/controls/textctrltest.cpp @@ -26,6 +26,10 @@ #include "wx/scopeguard.h" #include "wx/uiaction.h" +#ifdef __WXGTK__ + #include "wx/stopwatch.h" +#endif + #include "textentrytest.h" #include "testableframe.h" #include "asserthelper.h"