]> git.saurik.com Git - wxWidgets.git/commitdiff
converting temporary wxString to const wxChar* and storing that doesn't work (and...
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 27 Jan 2008 16:25:33 +0000 (16:25 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 27 Jan 2008 16:25:33 +0000 (16:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/filename/filenametest.cpp

index 4a1d46d547598c29a0f594b7a0642b9ef1efbb7f..4145a2217e161391d2c273659aa84d2a6f44ebe0 100644 (file)
@@ -288,9 +288,9 @@ void FileNameTestCase::TestNormalize()
 
     static struct FileNameTest
     {
-        const wxChar *original;
+        const wxString original;
         int flags;
-        const wxChar *expected;
+        const wxString expected;
     } tests[] =
     {
         // test wxPATH_NORM_ENV_VARS