Fix unit tests compilation in STL build.

Add missing c_str() calls forgotten by r70687.

Closes #14472.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2012-07-10 23:50:52 +00:00
parent ab78328d2a
commit fd78ef4715

View File

@ -709,7 +709,7 @@ void FileNameTestCase::TestIsSame()
tn = tempnam(NULL, "wxfn2");
const wxString tempdir2 = wxString::From8BitData(tn);
free(tn);
CPPUNIT_ASSERT_EQUAL( 0, symlink(tempdir1, tempdir2) );
CPPUNIT_ASSERT_EQUAL( 0, symlink(tempdir1.c_str(), tempdir2.c_str()) );
wxON_BLOCK_EXIT1( wxRemoveFile, tempdir2 );