61 wxFileDialog zipfiledlg(
this,
_(
"Unzip Project" ), fn.GetPath(), fn.GetFullName(),
64 if( zipfiledlg.ShowModal() == wxID_CANCEL )
67 wxString msg = wxString::Format(
_(
"\nOpen '%s'\n" ), zipfiledlg.GetPath() );
70 wxDirDialog dirDlg(
this,
_(
"Target Directory" ), fn.GetPath(), wxDD_DEFAULT_STYLE );
72 if( dirDlg.ShowModal() == wxID_CANCEL )
75 wxString unzipDir = dirDlg.GetPath() + wxT(
"/" );
76 msg.Printf(
_(
"Unzipping project in '%s'.\n" ), unzipDir );
79 if( unzipDir ==
Prj().GetProjectPath() )
81 if( !
Kiway().PlayersClose(
false ) )
89 wxArrayString projectFiles;
90 wxDir::GetAllFiles( unzipDir, &projectFiles,
94 if( projectFiles.size() == 1 )