]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/fdrepdlg.cpp
Respect wxListItem::m_mask in general list control Set/GetItem() and allow
[wxWidgets.git] / src / generic / fdrepdlg.cpp
index 716aaf5aefbf82c264cc7000a655b22296993692..787cf1cb5ff7e95d401b7703476060e4e0f5b1db 100644 (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);