mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Add title to Save Changes dialog.
This commit is contained in:
parent
bdeeace2ab
commit
7fde05e8ee
@ -155,7 +155,7 @@ int UnsavedChangesDialog( wxWindow* parent, wxString aMessage, bool* aApplyToAll
|
||||
{
|
||||
static bool s_apply_to_all = false;
|
||||
|
||||
wxRichMessageDialog dlg( parent, aMessage, wxEmptyString,
|
||||
wxRichMessageDialog dlg( parent, aMessage, _( "Save Changes?" ),
|
||||
wxYES_NO | wxCANCEL | wxYES_DEFAULT | wxICON_WARNING | wxCENTER );
|
||||
dlg.SetExtendedMessage( _( "If you don't save, all your changes will be permanently lost." ) );
|
||||
dlg.SetYesNoLabels( _( "Save" ), _( "Discard Changes" ) );
|
||||
@ -182,7 +182,7 @@ int UnsavedChangesDialog( wxWindow* parent, const wxString& aMessage )
|
||||
// wxWidgets gets the button order wrong on Mac so use the other dialog.
|
||||
return UnsavedChangesDialog( parent, aMessage, nullptr );
|
||||
#else
|
||||
wxMessageDialog dlg( parent, aMessage, wxEmptyString,
|
||||
wxMessageDialog dlg( parent, aMessage, _( "Save Changes?" ),
|
||||
wxYES_NO | wxCANCEL | wxYES_DEFAULT | wxICON_WARNING | wxCENTER );
|
||||
dlg.SetExtendedMessage( _( "If you don't save, all your changes will be permanently lost." ) );
|
||||
dlg.SetYesNoLabels( _( "Save" ), _( "Discard Changes" ) );
|
||||
|
Loading…
x
Reference in New Issue
Block a user