]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/filesys/filesystest.cpp
Resolve ambiguity between GetClientXXX() methods in wxOSX wxComboBox.
[wxWidgets.git] / tests / filesys / filesystest.cpp
index 613e241c2f92077197c9219204d8758b28c8f703..bf4e1a564cfab2560e9df2486605b06fe475ed8a 100644 (file)
@@ -74,7 +74,7 @@ private:
 // register in the unnamed registry so that these tests are run by default
 CPPUNIT_TEST_SUITE_REGISTRATION( FileSystemTestCase );
 
-// also include in it's own registry so that these tests can be run alone
+// also include in its own registry so that these tests can be run alone
 CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( FileSystemTestCase, "FileSystemTestCase" );
 
 void FileSystemTestCase::UrlParsing()
@@ -125,13 +125,13 @@ void FileSystemTestCase::FileNameToUrlConversion()
 
 void FileSystemTestCase::UnicodeFileNameToUrlConversion()
 {
-    const char filename_utf8[] = {
+    const unsigned char filename_utf8[] = {
               0x4b, 0x72, 0xc3, 0xa1, 0x73, 0x79, 0x50, 0xc5,
               0x99, 0xc3, 0xad, 0x72, 0x6f, 0x64, 0x79, 0x2e,
               0x6a, 0x70, 0x67, 0x00
               // KrásyPřírody.jpg
         };
-    wxFileName filename(wxString::FromUTF8(filename_utf8));
+    wxFileName filename(wxString::FromUTF8((const char*)filename_utf8));
 
     wxString url = wxFileSystem::FileNameToURL(filename);