typo in dir enum test code fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -91,7 +91,7 @@
|
|||||||
#undef TEST_ALL
|
#undef TEST_ALL
|
||||||
static const bool TEST_ALL = TRUE;
|
static const bool TEST_ALL = TRUE;
|
||||||
#else
|
#else
|
||||||
#define TEST_THREADS
|
#define TEST_MIME
|
||||||
|
|
||||||
static const bool TEST_ALL = FALSE;
|
static const bool TEST_ALL = FALSE;
|
||||||
#endif
|
#endif
|
||||||
@@ -308,7 +308,7 @@ static void TestDirEnum()
|
|||||||
puts("*** Testing wxDir::GetFirst/GetNext ***");
|
puts("*** Testing wxDir::GetFirst/GetNext ***");
|
||||||
|
|
||||||
wxString cwd = wxGetCwd();
|
wxString cwd = wxGetCwd();
|
||||||
if ( wxDir::Exists(cwd) )
|
if ( !wxDir::Exists(cwd) )
|
||||||
{
|
{
|
||||||
printf("ERROR: current directory '%s' doesn't exist?\n", cwd.c_str());
|
printf("ERROR: current directory '%s' doesn't exist?\n", cwd.c_str());
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user