// declarations
// ============================================================================
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma implementation "genericfdrepdlg.h"
-#endif
-
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
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);