12DIALOG_FIND_BASE::DIALOG_FIND_BASE( wxWindow* parent, wxWindowID 
id, 
const wxString& title, 
const wxPoint& pos, 
const wxSize& size, 
long style ) : 
DIALOG_SHIM( parent, id, title, pos, size, style )
 
   14    this->SetSizeHints( wxDefaultSize, wxDefaultSize );
 
   17    bSizer10 = 
new wxBoxSizer( wxVERTICAL );
 
   20    topSizer = 
new wxBoxSizer( wxHORIZONTAL );
 
   22    wxBoxSizer* leftSizer;
 
   23    leftSizer = 
new wxBoxSizer( wxVERTICAL );
 
   26    bSizer8 = 
new wxBoxSizer( wxHORIZONTAL );
 
   28    searchStringLabel = 
new wxStaticText( 
this, wxID_ANY, 
_(
"Search for:"), wxDefaultPosition, wxDefaultSize, 0 );
 
   32    m_searchCombo = 
new wxComboBox( 
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, wxCB_DROPDOWN|wxTE_PROCESS_ENTER );
 
   38    leftSizer->Add( bSizer8, 1, wxEXPAND, 5 );
 
   40    wxBoxSizer* sizerOptions;
 
   41    sizerOptions = 
new wxBoxSizer( wxHORIZONTAL );
 
   43    m_matchCase = 
new wxCheckBox( 
this, wxID_ANY, 
_(
"Match &case"), wxDefaultPosition, wxDefaultSize, 0 );
 
   47    sizerOptions->Add( 0, 0, 1, wxEXPAND, 5 );
 
   49    m_matchWords = 
new wxCheckBox( 
this, wxID_ANY, 
_(
"Whole &words only"), wxDefaultPosition, wxDefaultSize, 0 );
 
   53    sizerOptions->Add( 0, 0, 1, wxEXPAND, 5 );
 
   55    m_wildcards = 
new wxCheckBox( 
this, wxID_ANY, 
_(
"Wi&ldcards"), wxDefaultPosition, wxDefaultSize, 0 );
 
   59    sizerOptions->Add( 0, 0, 1, wxEXPAND, 5 );
 
   61    m_wrap = 
new wxCheckBox( 
this, wxID_ANY, 
_(
"Wra&p"), wxDefaultPosition, wxDefaultSize, 0 );
 
   63    sizerOptions->Add( 
m_wrap, 0, wxALL, 5 );
 
   66    leftSizer->Add( sizerOptions, 1, wxALL|wxEXPAND, 0 );
 
   69    leftSizer->Add( 0, 5, 0, wxEXPAND, 5 );
 
   71    wxFlexGridSizer* sizerInclude;
 
   72    sizerInclude = 
new wxFlexGridSizer( 0, 2, 6, 20 );
 
   73    sizerInclude->SetFlexibleDirection( wxBOTH );
 
   74    sizerInclude->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
 
   76    m_includeReferences = 
new wxCheckBox( 
this, wxID_ANY, 
_(
"Search footprint reference &designators"), wxDefaultPosition, wxDefaultSize, 0 );
 
   80    m_includeMarkers = 
new wxCheckBox( 
this, wxID_ANY, 
_(
"Search DRC &markers"), wxDefaultPosition, wxDefaultSize, 0 );
 
   84    m_includeValues = 
new wxCheckBox( 
this, wxID_ANY, 
_(
"Search footprint &values"), wxDefaultPosition, wxDefaultSize, 0 );
 
   88    m_includeNets = 
new wxCheckBox( 
this, wxID_ANY, 
_(
"Search &net names"), wxDefaultPosition, wxDefaultSize, 0 );
 
   92    m_checkAllFields = 
new wxCheckBox( 
this, wxID_ANY, 
_(
"Include &hidden fields"), wxDefaultPosition, wxDefaultSize, 0 );
 
   96    sizerInclude->Add( 0, 0, 1, wxEXPAND, 5 );
 
   98    m_includeTexts = 
new wxCheckBox( 
this, wxID_ANY, 
_(
"Search &other text items"), wxDefaultPosition, wxDefaultSize, 0 );
 
  103    leftSizer->Add( sizerInclude, 0, wxEXPAND|wxALL, 5 );
 
  106    topSizer->Add( leftSizer, 1, wxEXPAND, 5 );
 
  108    wxBoxSizer* buttonSizer;
 
  109    buttonSizer = 
new wxBoxSizer( wxVERTICAL );
 
  111    m_findNext = 
new wxButton( 
this, wxID_ANY, 
_(
"Find Next"), wxDefaultPosition, wxDefaultSize, 0 );
 
  114    buttonSizer->Add( 
m_findNext, 0, wxALIGN_TOP|wxALL|wxEXPAND, 5 );
 
  116    m_findPrevious = 
new wxButton( 
this, wxID_ANY, 
_(
"Find Previous"), wxDefaultPosition, wxDefaultSize, 0 );
 
  117    buttonSizer->Add( 
m_findPrevious, 0, wxALIGN_LEFT|wxALL|wxEXPAND, 5 );
 
  119    m_searchAgain = 
new wxButton( 
this, wxID_ANY, 
_(
"Restart Search"), wxDefaultPosition, wxDefaultSize, 0 );
 
  122    m_closeButton = 
new wxButton( 
this, wxID_CANCEL, 
_(
"Close"), wxDefaultPosition, wxDefaultSize, 0 );
 
  126    topSizer->Add( buttonSizer, 0, 0, 5 );
 
  129    bSizer10->Add( topSizer, 0, wxALL|wxEXPAND, 5 );
 
  131    wxStaticLine* staticline;
 
  132    staticline = 
new wxStaticLine( 
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
 
  133    bSizer10->Add( staticline, 0, wxEXPAND | wxALL, 5 );
 
  135    wxBoxSizer* sizerStatus;
 
  136    sizerStatus = 
new wxBoxSizer( wxHORIZONTAL );
 
  138    m_status = 
new wxStaticText( 
this, wxID_ANY, 
_(
"Status"), wxDefaultPosition, wxDefaultSize, 0 );
 
  140    sizerStatus->Add( 
m_status, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
 
  143    sizerStatus->Add( 0, 0, 1, wxEXPAND, 5 );
 
  145    m_searchPanelLink = 
new wxHyperlinkCtrl( 
this, wxID_ANY, 
_(
"Show search panel"), wxEmptyString, wxDefaultPosition, wxDefaultSize, wxHL_DEFAULT_STYLE );
 
  149    bSizer10->Add( sizerStatus, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
 
  152    this->SetSizer( bSizer10 );
 
  154    bSizer10->Fit( 
this );
 
  156    this->Centre( wxBOTH );