wxString conversion cleanup.

This commit is contained in:
Jordan Woyak committed 2013-03-02 20:34:53 -06:00
1 parent 6c8adf6130
commit e183711d74
5 files changed
+15 -32

No files matched your search

@@ -209,7 +209,7 @@ void CCodeWindow::OnProfilerMenu(wxCommandEvent& event)
break;
}
wxString OpenCommand;
OpenCommand = filetype->GetOpenCommand(wxString::From8BitData(filename.c_str()));
OpenCommand = filetype->GetOpenCommand(StrToWxStr(filename));
if(!OpenCommand.IsEmpty())
wxExecute(OpenCommand, wxEXEC_SYNC);
}