From: Włodzimierz Skiba Date: Mon, 12 Jul 2004 19:21:48 +0000 (+0000) Subject: Warning fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4b586201d35436b6b2b909631a8a47af53269957 Warning fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/console/console.cpp b/samples/console/console.cpp index 76c7cef46a..fd27e29a1b 100644 --- a/samples/console/console.cpp +++ b/samples/console/console.cpp @@ -3761,6 +3761,9 @@ static void TestZipFileSystem() #include "wx/datetime.h" // this test miscellaneous static wxDateTime functions + +#if TEST_ALL + static void TestTimeStatic() { wxPuts(_T("\n*** wxDateTime static methods test ***")); @@ -3839,6 +3842,10 @@ static void TestTimeDST() } } +#endif // TEST_ALL + +#if TEST_INTERACTIVE + static void TestDateTimeInteractive() { wxPuts(_T("\n*** interactive wxDateTime tests ***")); @@ -3878,6 +3885,10 @@ static void TestDateTimeInteractive() wxPuts(_T("\n*** done ***")); } +#endif // TEST_INTERACTIVE + +#if TEST_ALL + static void TestTimeMS() { wxPuts(_T("*** testing millisecond-resolution support in wxDateTime ***")); @@ -3979,6 +3990,8 @@ static void TestTimeSpanFormat() wxPuts(wxEmptyString); } +#endif // TEST_ALL + #endif // TEST_DATETIME // ----------------------------------------------------------------------------