The code (in UnsavedChangesDialog()) certainly attempts to set the right default (YES/Save):
wxMessageDialog dlg( parent, aMessage, wxEmptyString, 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" ) );
Not sure what's going wrong, but it'll have to be debugged on GTK.
The code (in UnsavedChangesD ialog() ) certainly attempts to set the right default (YES/Save):
wxMessageDialog dlg( parent, aMessage, wxEmptyString,
wxYES_ NO | wxCANCEL | wxYES_DEFAULT | wxICON_WARNING | wxCENTER ); SetExtendedMess age( _( "If you don't save, all your changes will be permanently lost." ) ); SetYesNoLabels( _( "Save" ), _( "Discard Changes" ) );
dlg.
dlg.
Not sure what's going wrong, but it'll have to be debugged on GTK.