This fails to compile because CreateTempFileName returns a wxString
which doesn't have an implicit conversion to std::string. One solution
would be to call ToStdString() to get a std::string, but this change
just uses auto to deduce the type.
wxFileName::CreateTempFileName(
_("SCSI2SD_MARKER"), static_cast<wxFile*>(NULL));
wxRemoveFile(tmpFile); // dfu-util won't overwrite.
wxFileName::CreateTempFileName(
_("SCSI2SD_MARKER"), static_cast<wxFile*>(NULL));
wxRemoveFile(tmpFile); // dfu-util won't overwrite.