DMC fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2004-04-25 11:06:02 +00:00
parent e3a0d44cd4
commit f69577be06
2 changed files with 6 additions and 2 deletions

View File

@ -45,6 +45,10 @@
#include "wx/cppunit.h"
#include <stdexcept>
#ifdef __DMC__
#include <locale.h>
#endif
using namespace std;
using namespace CppUnit;

View File

@ -157,10 +157,10 @@ void TestApp::List(Test *test, const string& parent /*=""*/) const
cout << " " << name.substr(i + 1) << "\n";
}
typedef const vector<Test*> Tests;
typedef vector<Test*> Tests;
typedef Tests::const_iterator Iter;
Tests& tests = suite->getTests();
const Tests& tests = suite->getTests();
for (Iter it = tests.begin(); it != tests.end(); ++it)
List(*it, name);