1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-23 16:08:07 +02:00

Make sure to layout the button swap on Windows

This commit is contained in:
Leland Lucius 2015-05-17 11:10:16 -05:00
parent 6df443bd37
commit 5817fec5c7

View File

@ -2827,6 +2827,7 @@ int EffectUIHost::ShowModal()
wxButton *apply = new wxButton(mApplyBtn->GetParent(), wxID_APPLY);
sz->Replace(mCloseBtn, apply);
sz->Replace(mApplyBtn, mCloseBtn);
sz->Layout();
delete mApplyBtn;
mApplyBtn = apply;
mApplyBtn->SetDefault();