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

Nick Trimble's patch fixing bug 124 (no OK button in Audio Device Info);

also causes OK button to display correctly in another, similar dialog after
Export Multiple.
This commit is contained in:
BusinessmanProgrammerSteve 2010-06-12 20:39:23 +00:00
parent 7d1837859e
commit 78ccfa399f

View File

@ -272,15 +272,16 @@ void ShowInfoDialog( wxWindow *parent,
S.AddTextWindow(message); S.AddTextWindow(message);
} }
S.SetBorder( 0 ); S.SetBorder( 0 );
S.StartHorizontalLay(wxALIGN_RIGHT|wxALIGN_BOTTOM, 0); S.StartHorizontalLay(wxALIGN_CENTER|wxALIGN_BOTTOM, 0);
S.AddStandardButtons(eOkButton); S.AddStandardButtons(eOkButton);
S.EndHorizontalLay();
// Next three lines add a tiny dragger. // Next three lines add a tiny dragger.
wxStatusBar * pBar = new wxStatusBar( &dlog ); wxStatusBar * pBar = new wxStatusBar( &dlog );
pBar->SetSize( 18, 38); pBar->SetSize( 18, 38);
S.AddWindow( pBar, wxALIGN_BOTTOM|wxALIGN_RIGHT ); S.AddWindow( pBar, wxALIGN_BOTTOM|wxALIGN_RIGHT );
S.EndHorizontalLay();
S.EndVerticalLay(); S.EndVerticalLay();
// Smallest size is half default size. Seems reasonable. // Smallest size is half default size. Seems reasonable.