make OK button the default button for when using the 'enter name' dialog
parent
6fe59f77ec
commit
534ed54cf1
|
@ -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 );
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue