diff --git a/tests/datetime/datetimetest.cpp b/tests/datetime/datetimetest.cpp index c8129a8127..3d4fad74d1 100644 --- a/tests/datetime/datetimetest.cpp +++ b/tests/datetime/datetimetest.cpp @@ -17,11 +17,12 @@ #pragma hdrstop #endif -#ifndef WX_PRECOMP -#endif // WX_PRECOMP - #if wxUSE_DATETIME +#ifndef WX_PRECOMP + #include "wx/time.h" // wxGetTimeZone() +#endif // WX_PRECOMP + #include "wx/wxcrt.h" // for wxStrstr() #include "testdate.h"