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
1 changed files with 3 additions and 2 deletions

View File

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