git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37752
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
for (wxStringList::compatibility_iterator node = GetFirst(); node; node = node->GetNext())
{
for (wxStringList::compatibility_iterator node = GetFirst(); node; node = node->GetNext())
{
- const wxChar *path = node->GetData();
+ const wxString path(node->GetData());
wxStrcpy (wxFileFunctionsBuffer, path);
wxChar ch = wxFileFunctionsBuffer[wxStrlen(wxFileFunctionsBuffer)-1];
if (ch != wxT('\\') && ch != wxT('/'))
wxStrcpy (wxFileFunctionsBuffer, path);
wxChar ch = wxFileFunctionsBuffer[wxStrlen(wxFileFunctionsBuffer)-1];
if (ch != wxT('\\') && ch != wxT('/'))