//#define TEST_LIST
//#define TEST_LOCALE
//#define TEST_LOG
-#define TEST_LONGLONG
+//#define TEST_LONGLONG
//#define TEST_MIME
//#define TEST_PATHLIST
//#define TEST_REGCONF
//#define TEST_REGEX
//#define TEST_REGISTRY
-//#define TEST_SNGLINST
+#define TEST_SNGLINST
//#define TEST_SOCKETS
//#define TEST_STREAMS
//#define TEST_STRINGS
static void TestDiskInfo()
{
- puts("*** Testing wxGetDiskSpace() ***\n");
+ puts("*** Testing wxGetDiskSpace() ***");
for ( ;; )
{
}
else
{
- wxPrintf(_T("%s total bytes, %s free bytes on '%s'.\n"),
- total.ToString().c_str(),
- free.ToString().c_str(),
+ wxPrintf(_T("%sKb total, %sKb free on '%s'.\n"),
+ (total / 1024).ToString().c_str(),
+ (free / 1024).ToString().c_str(),
pathname);
}
}