this->tcComment->SetEditable(false);
// \8f\89\8aú\92l\82ð\90Ý\92è\81B
- this->cbDir->SetValue(((MainFrame *) this->GetParent())->fnArchive.GetPath());
- this->cbFileName->SetValue(((MainFrame *) this->GetParent())->fnArchive.GetFullName());
+ MainFrame * frm_main = (MainFrame *) this->GetParent();
+ this->cbDir->SetValue(frm_main->fnArchive.GetPath());
+ this->cbFileName->SetValue(frm_main->fnArchive.GetFullName());
+ this->tcComment->SetValue(frm_main->szComment);
// \93W\8aJ\90æ\82ð\97\\91ª\81B\82½\82¾\82µDTV\83X\83L\83\83\83\93\82É\8e\9e\8aÔ\82ª\82©\82©\82é\8fê\8d\87\82Í\83X\83L\83b\83v\89Â\94\\81B
if (this->files.GetCount() < 3000 || ::AskDlg(wxT("This archive contains so many files that it takes long to check Directory Traversal Vulnerability(DTV) problem. If you are sure this archive is safe, you can skip this scanning process. Do you want to scan for DTV problem?"), this) == wxYES)
::ErrDlg(wxT("GetArchiveInformation()!"), this);
return;
}
+ this->szComment = aiInfo.szComment;
// \8f\91\8cÉ\82ð\95Â\82¶\82é\81B
if (! tpi.CloseArchive())
this->statusbar->SetStatusText(wxEmptyString, i);
}
this->fileinfo.Clear();
+ this->szComment.Clear();
g_hIconT.RemoveAll();
g_hIconLL.RemoveAll();