mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-07 04:01:54 +01:00
bug 26 followup: remove help button and include File > Check Dependencies recommendation in message
This commit is contained in:
@@ -70,6 +70,10 @@ ErrorDialog::ErrorDialog(
|
||||
const bool Close, const bool modal):
|
||||
wxDialog(parent, (wxWindowID)-1, dlogTitle)
|
||||
{
|
||||
long buttonMask;
|
||||
|
||||
// only add the help button if we have a URL
|
||||
buttonMask = (helpURL == wxT("")) ? eOkButton : (eHelpButton | eOkButton);
|
||||
dhelpURL = helpURL;
|
||||
dClose = Close;
|
||||
dModal = modal;
|
||||
@@ -81,7 +85,7 @@ ErrorDialog::ErrorDialog(
|
||||
S.SetBorder( 20 );
|
||||
S.AddFixedText( message );
|
||||
S.SetBorder( 2 );
|
||||
S.AddStandardButtons(eHelpButton | eOkButton);
|
||||
S.AddStandardButtons( buttonMask );
|
||||
}
|
||||
S.EndVerticalLay();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user