X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/98eae4660115bf34b3e266b3b0bcafa42638941e..0fbcc4d8279817ca256aa1738d4e98325efeb2b4:/tests/mbconv/main.cpp diff --git a/tests/mbconv/main.cpp b/tests/mbconv/main.cpp index 38b9af29a0..5eb0ecf30f 100644 --- a/tests/mbconv/main.cpp +++ b/tests/mbconv/main.cpp @@ -11,7 +11,16 @@ // headers // ---------------------------------------------------------------------------- -#include "wx/wx.h" +#include "wx/wxprec.h" + +#ifdef __BORLANDC__ + #pragma hdrstop +#endif + +#ifndef WX_PRECOMP + #include "wx/wx.h" +#endif // WX_PRECOMP + #include "wx/strconv.h" #include "wx/string.h" @@ -33,7 +42,7 @@ private: void WC2CP1250(); - DECLARE_NO_COPY_CLASS(MBConvTestCase); + DECLARE_NO_COPY_CLASS(MBConvTestCase) }; // register in the unnamed registry so that these tests are run by default @@ -64,7 +73,7 @@ void MBConvTestCase::WC2CP1250() } else { - CPPUNIT_ASSERT( cs1250.cWC2MB(d.wc) == NULL ); + CPPUNIT_ASSERT( (const char*)cs1250.cWC2MB(d.wc) == NULL ); } } }