Set the find button to be the default button.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2005-04-07 23:27:33 +00:00
parent a5040b80be
commit 1c95468e1d

View File

@ -174,7 +174,9 @@ bool wxGenericFindReplaceDialog::Create(wxWindow *parent,
wxBoxSizer *bttnsizer = new wxBoxSizer(wxVERTICAL);
bttnsizer->Add(new wxButton(this, wxID_FIND), 0, wxALL, 3);
wxButton* btn = new wxButton(this, wxID_FIND);
btn->SetDefault();
bttnsizer->Add(btn, 0, wxALL, 3);
bttnsizer->Add(new wxButton(this, wxID_CANCEL), 0, wxALL, 3);