- char *path = (char *) node->Data ();
- strcpy (wxBuffer, path);
- char ch = wxBuffer[strlen(wxBuffer)-1];
- if (ch != '\\' && ch != '/')
- strcat (wxBuffer, "/");
- strcat (wxBuffer, filename);
+ wxChar *path = (wxChar *) node->Data ();
+ wxStrcpy (wxBuffer, path);
+ wxChar ch = wxBuffer[wxStrlen(wxBuffer)-1];
+ if (ch != _T('\\') && ch != _T('/'))
+ wxStrcat (wxBuffer, _T("/"));
+ wxStrcat (wxBuffer, filename);