62    wxFileDialog zipfiledlg( 
this, 
_( 
"Unzip Project" ), fn.GetPath(), fn.GetFullName(),
 
   65    if( zipfiledlg.ShowModal() == wxID_CANCEL )
 
   68    wxString msg = wxString::Format( 
_( 
"\nOpen '%s'\n" ), zipfiledlg.GetPath() );
 
   71    wxDirDialog dirDlg( 
this, 
_( 
"Target Directory" ), fn.GetPath(), wxDD_DEFAULT_STYLE );
 
   73    if( dirDlg.ShowModal() == wxID_CANCEL )
 
   76    wxString unzipDir = dirDlg.GetPath() + wxT( 
"/" );
 
   77    msg.Printf( 
_( 
"Unzipping project in '%s'.\n" ), unzipDir );
 
   80    if( unzipDir == 
Prj().GetProjectPath() )
 
   82        if( !
Kiway().PlayersClose( 
false ) )
 
   90        wxArrayString projectFiles;
 
   91        wxDir::GetAllFiles( unzipDir, &projectFiles,
 
   95        if( projectFiles.size() == 1 )
 
 
void ShowRestoreDialog(const wxString &aProjectPath, wxWindow *aParent)
Show a dialog allowing the user to choose a snapshot to restore.