// \8ae\8eí\90Ý\92è\81B
TPI_SWITCHES swInfo;
- wxArrayString files = MakeTargetFileList(this, false);
-
ProcessDialog procDlg;
procDlg.InitDialog();
procDlg.Show(true);
- this->ErrorCheck(this->tpi.Command(TPI_COMMAND_DELETE, & swInfo, this->fnArchive.GetFullPath(), files));
+ this->ErrorCheck(this->tpi.Command(TPI_COMMAND_DELETE, & swInfo, this->fnArchive.GetFullPath(), MakeTargetFileList(this, false)));
procDlg.Show(false);
// \8f\91\8cÉ\82ð\8dÄ\93Ç\82Ý\8d\9e\82Ý\82·\82é\81B
void MainFrame::OnArcTest(wxCommandEvent&)
{
- // \8ae\8eí\90Ý\92è\81B
- wxArrayString files = MakeTargetFileList(this, false);
TPI_SWITCHES swInfo;
-
ProcessDialog procDlg;
procDlg.InitDialog();
procDlg.Show(true);
- if (this->ErrorCheck(this->tpi.Command(TPI_COMMAND_TEST, & swInfo, this->fnArchive.GetFullPath(), files)) == TPI_ERROR_SUCCESS)
+ if (this->ErrorCheck(this->tpi.Command(TPI_COMMAND_TEST, & swInfo, this->fnArchive.GetFullPath(), MakeTargetFileList(this, false))) == TPI_ERROR_SUCCESS)
{
::MsgDlg(wxT("This is a correct archive."), & procDlg, wxICON_INFORMATION);
}
void MainFrame::OnArcRepair(wxCommandEvent&)
{
- // \8ae\8eí\90Ý\92è\81B
- wxArrayString files = MakeTargetFileList(this, false);
TPI_SWITCHES swInfo;
-
ProcessDialog procDlg;
procDlg.InitDialog();
procDlg.Show(true);
- this->ErrorCheck(this->tpi.Command(TPI_COMMAND_REPAIR, & swInfo, this->fnArchive.GetFullPath(), files));
+ this->ErrorCheck(this->tpi.Command(TPI_COMMAND_REPAIR, & swInfo, this->fnArchive.GetFullPath(), MakeTargetFileList(this, false)));
procDlg.Show(false);
}