From: Václav Slavík Date: Sun, 27 Jan 2008 16:25:33 +0000 (+0000) Subject: converting temporary wxString to const wxChar* and storing that doesn't work (and... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4f03ec887be1a5f5ba3b431d780d98c1ad4557af converting temporary wxString to const wxChar* and storing that doesn't work (and doesn't even compile if wxUSE_STL), fixed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/tests/filename/filenametest.cpp b/tests/filename/filenametest.cpp index 4a1d46d547..4145a2217e 100644 --- a/tests/filename/filenametest.cpp +++ b/tests/filename/filenametest.cpp @@ -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