]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/formatconverter/formatconvertertest.cpp
Fixes to allow compilation with no wchar_t (djgpp probably has a real wchar_t
[wxWidgets.git] / tests / formatconverter / formatconvertertest.cpp
index 0893dd3ee8e711683355618f72d77cd7a460259a..987a69e862223c397c26a63d58b23067b9b9ab93 100644 (file)
@@ -36,7 +36,7 @@
 //
 
 // For compilers that support precompilation, includes "wx/wx.h".
-#include "wx/wxprec.h"
+#include "testprec.h"
 
 #ifdef __BORLANDC__
     #pragma hdrstop
@@ -47,8 +47,6 @@
     #include "wx/wx.h"
 #endif
 
-#include "wx/cppunit.h"
-
 // wxFormatConverter can only be tested in a Unicode non-Windows debug build
 //
 #if defined(wxNEED_PRINTF_CONVERSION) && defined(__WXDEBUG__)
@@ -56,9 +54,8 @@
 extern wxString wxConvertFormat(const wxChar *format);
 #endif
 
-using namespace std;
-using namespace CppUnit;
-
+using CppUnit::TestCase;
+using std::string;
 
 ///////////////////////////////////////////////////////////////////////////////
 // The test case