make OK button the default button for when using the 'enter name' dialog

master
jp9000 2013-12-29 09:56:25 -07:00
parent 6fe59f77ec
commit 534ed54cf1
2 changed files with 2 additions and 1 deletions

View File

@ -849,6 +849,7 @@ NameDialogBase::NameDialogBase( wxWindow* parent, wxWindowID id, const wxString&
bSizer45 = new wxBoxSizer( wxHORIZONTAL );
okButton = new wxButton( this, wxID_ANY, _("OK"), wxDefaultPosition, wxDefaultSize, 0 );
okButton->SetDefault();
bSizer45->Add( okButton, 0, wxALL, 5 );
cancelButton = new wxButton( this, wxID_ANY, _("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );

View File

@ -8051,7 +8051,7 @@
<property name="close_button">1</property>
<property name="context_help"></property>
<property name="context_menu">1</property>
<property name="default">0</property>
<property name="default">1</property>
<property name="default_pane">0</property>
<property name="dock">Dock</property>
<property name="dock_fixed">0</property>