- m_path = vFileDlg.szFullFile;
- m_fileName = wxFileNameFromPath(vFileDlg.szFullFile);
- m_dir = wxPathOnly(vFileDlg.szFullFile);
+ m_path = (wxChar*)vFileDlg.szFullFile;
+ m_fileName = wxFileNameFromPath(wxString((const wxChar*)vFileDlg.szFullFile));
+ m_dir = wxPathOnly((const wxChar*)vFileDlg.szFullFile);