X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0f21699216c76d1fd3dcd4675407d38d36052212..702723413ed52b1f538d9c8deab8abfa3f8beb9a:/tests/mbconv/main.cpp diff --git a/tests/mbconv/main.cpp b/tests/mbconv/main.cpp index d17d97756a..6c509c838d 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 @@ -51,7 +60,7 @@ void MBConvTestCase::WC2CP1250() } 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);