1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-27 15:08:39 +01:00

Define wxDirDialogWrapper, with localized default prompt and name

This commit is contained in:
Paul Licameli
2017-10-12 15:23:52 -04:00
parent 729fd3767c
commit cf4b9eb5c8
4 changed files with 40 additions and 3 deletions

View File

@@ -135,7 +135,7 @@ void DirectoriesPrefs::OnChooseTempDir(wxCommandEvent & e)
if( !AudacityApp::IsTempDirectoryNameOK( oldTempDir ) )
oldTempDir = wxGetApp().defaultTempDir;
wxDirDialog dlog(this,
wxDirDialogWrapper dlog(this,
_("Choose a location to place the temporary directory"),
oldTempDir );
int retval = dlog.ShowModal();