X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eb42e596aa6d70dd6fed7a69e6e2ea471dba1d4f..99328372915eca33480fb8d74da7a43d43c49c10:/samples/console/console.cpp diff --git a/samples/console/console.cpp b/samples/console/console.cpp index 7348a317d0..06662dde58 100644 --- a/samples/console/console.cpp +++ b/samples/console/console.cpp @@ -85,7 +85,7 @@ #define TEST_WCHAR #define TEST_ZIP #else // #if TEST_ALL - #define TEST_DIR + #define TEST_STDPATHS #endif // some tests are interactive, define this to run them @@ -897,8 +897,8 @@ static void TestFileNameCwd() #ifdef TEST_FILETIME -#include -#include +#include "wx/filename.h" +#include "wx/datetime.h" static void TestFileGetTimes() { @@ -1554,7 +1554,7 @@ static void TestRegExInteractive() #ifdef TEST_ODBC -#include +#include "wx/db.h" static void TestDbOpen() { @@ -2685,6 +2685,15 @@ static void TestStandardPaths() wxPrintf(_T("Data dir (user):\t%s\n"), stdp.GetUserDataDir().c_str()); wxPrintf(_T("Data dir (user local):\t%s\n"), stdp.GetUserLocalDataDir().c_str()); wxPrintf(_T("Plugins dir:\t\t%s\n"), stdp.GetPluginsDir().c_str()); + wxPrintf(_T("Resources dir:\t\t%s\n"), stdp.GetResourcesDir().c_str()); + wxPrintf(_T("Localized res. dir:\t%s\n"), + stdp.GetLocalizedResourcesDir(_T("fr")).c_str()); + wxPrintf(_T("Message catalogs dir:\t%s\n"), + stdp.GetLocalizedResourcesDir + ( + _T("fr"), + wxStandardPaths::ResourceCat_Messages + ).c_str()); } #endif // TEST_STDPATHS