// 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"
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
} data[] =
{
{ L"hello", "hello" }, // test that it works in simplest case
- { L"½ of ½ is ¼", NULL }, // this should fail as cp1250 doesn't have 1/2
+ { L"\xBD of \xBD is \xBC", NULL }, // this should fail as cp1250 doesn't have 1/2
};
wxCSConv cs1250(wxFONTENCODING_CP1250);
}
else
{
- CPPUNIT_ASSERT( cs1250.cWC2MB(d.wc) == NULL );
+ CPPUNIT_ASSERT( (const char*)cs1250.cWC2MB(d.wc) == NULL );
}
}
}