From: Vadim Zeitlin Date: Thu, 5 Jan 2012 10:21:46 +0000 (+0000) Subject: Fix wxDateTime unit test compilation without PCH. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/86d19346c5e0abd5c2575d0a305ddc48f05fddf8?ds=inline Fix wxDateTime unit test compilation without PCH. Include wx/time.h to get wxGetTimeZone() declaration. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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 +#if wxUSE_DATETIME + #ifndef WX_PRECOMP + #include "wx/time.h" // wxGetTimeZone() #endif // WX_PRECOMP -#if wxUSE_DATETIME - #include "wx/wxcrt.h" // for wxStrstr() #include "testdate.h"