1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-02 16:49:41 +02:00

Bug 113 (P2) Dependencies dialogue not safe against user error

Make dependencies dialog resizable.
This commit is contained in:
v.audacity 2011-02-17 01:26:57 +00:00
parent 27a2ee3eaf
commit 77b1be7f3d

View File

@ -313,11 +313,13 @@ DependencyDialog::DependencyDialog(wxWindow *parent,
wxWindowID id,
AudacityProject *project,
AliasedFileArray *aliasedFiles,
bool isSaving):
wxDialog(parent, id, _("Project Depends on Other Audio Files"),
bool isSaving)
: wxDialog(parent, id, _("Project Depends on Other Audio Files"),
wxDefaultPosition, wxDefaultSize,
isSaving ? wxDEFAULT_DIALOG_STYLE & (~wxCLOSE_BOX) :
wxDEFAULT_DIALOG_STYLE), // no close box when saving
(isSaving ?
(wxDEFAULT_DIALOG_STYLE & ~wxCLOSE_BOX) : // no close box when saving
wxDEFAULT_DIALOG_STYLE) |
wxRESIZE_BORDER),
mProject(project),
mAliasedFiles(aliasedFiles),
mIsSaving(isSaving),