2015-12-20 18:47:52 +00:00
///////////////////////////////////////////////////////////////////////////
2020-11-11 15:58:12 +00:00
// C++ code generated with wxFormBuilder (version 3.9.0 Nov 1 2020)
2015-12-20 18:47:52 +00:00
// http://www.wxformbuilder.org/
//
2017-12-27 17:09:27 +00:00
// PLEASE DO *NOT* EDIT THIS FILE!
2015-12-20 18:47:52 +00:00
///////////////////////////////////////////////////////////////////////////
# include "dialog_get_footprint_by_name_base.h"
///////////////////////////////////////////////////////////////////////////
DIALOG_GET_FOOTPRINT_BY_NAME_BASE : : DIALOG_GET_FOOTPRINT_BY_NAME_BASE ( wxWindow * parent , wxWindowID id , const wxString & title , const wxPoint & pos , const wxSize & size , long style ) : DIALOG_SHIM ( parent , id , title , pos , size , style )
{
this - > SetSizeHints ( wxDefaultSize , wxDefaultSize ) ;
2020-03-17 16:08:29 +00:00
2015-12-20 18:47:52 +00:00
wxBoxSizer * bSizerMain ;
bSizerMain = new wxBoxSizer ( wxVERTICAL ) ;
2020-03-17 16:08:29 +00:00
2015-12-20 18:47:52 +00:00
wxBoxSizer * bSizerUpper ;
bSizerUpper = new wxBoxSizer ( wxHORIZONTAL ) ;
2020-03-17 16:08:29 +00:00
wxGridBagSizer * gbSizer1 ;
gbSizer1 = new wxGridBagSizer ( 0 , 0 ) ;
gbSizer1 - > SetFlexibleDirection ( wxBOTH ) ;
gbSizer1 - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
gbSizer1 - > SetEmptyCellSize ( wxSize ( - 1 , 12 ) ) ;
m_staticTextRef = new wxStaticText ( this , wxID_ANY , _ ( " Reference designator: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-12-20 18:47:52 +00:00
m_staticTextRef - > Wrap ( - 1 ) ;
2020-11-11 15:58:12 +00:00
gbSizer1 - > Add ( m_staticTextRef , wxGBPosition ( 0 , 0 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxLEFT | wxRIGHT , 5 ) ;
2020-03-17 16:08:29 +00:00
2015-12-20 18:47:52 +00:00
m_SearchTextCtrl = new wxTextCtrl ( this , wxID_ANY , wxEmptyString , wxDefaultPosition , wxSize ( 200 , - 1 ) , 0 ) ;
2020-03-17 16:08:29 +00:00
gbSizer1 - > Add ( m_SearchTextCtrl , wxGBPosition ( 0 , 1 ) , wxGBSpan ( 1 , 1 ) , wxALL | wxEXPAND | wxALIGN_CENTER_VERTICAL , 5 ) ;
m_multipleHint = new wxStaticText ( this , wxID_ANY , _ ( " (specify multiple items separated by spaces for successive placement) " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_multipleHint - > Wrap ( - 1 ) ;
2020-11-11 15:58:12 +00:00
gbSizer1 - > Add ( m_multipleHint , wxGBPosition ( 1 , 0 ) , wxGBSpan ( 1 , 2 ) , wxBOTTOM | wxEXPAND | wxLEFT | wxRIGHT | wxTOP , 5 ) ;
2020-03-17 16:08:29 +00:00
2015-12-20 18:47:52 +00:00
m_staticTextRef1 = new wxStaticText ( this , wxID_ANY , _ ( " Available: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticTextRef1 - > Wrap ( - 1 ) ;
2020-11-11 15:58:12 +00:00
gbSizer1 - > Add ( m_staticTextRef1 , wxGBPosition ( 3 , 0 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxLEFT | wxRIGHT , 5 ) ;
2020-03-17 16:08:29 +00:00
2015-12-20 18:47:52 +00:00
wxArrayString m_choiceFpListChoices ;
m_choiceFpList = new wxChoice ( this , wxID_ANY , wxDefaultPosition , wxDefaultSize , m_choiceFpListChoices , 0 ) ;
m_choiceFpList - > SetSelection ( 0 ) ;
2020-11-11 15:58:12 +00:00
gbSizer1 - > Add ( m_choiceFpList , wxGBPosition ( 3 , 1 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxALL | wxEXPAND , 5 ) ;
2020-03-17 16:08:29 +00:00
bSizerUpper - > Add ( gbSizer1 , 1 , wxEXPAND | wxALL , 5 ) ;
2015-12-20 18:47:52 +00:00
bSizerMain - > Add ( bSizerUpper , 1 , wxEXPAND , 5 ) ;
2020-03-17 16:08:29 +00:00
2015-12-20 18:47:52 +00:00
m_staticline1 = new wxStaticLine ( this , wxID_ANY , wxDefaultPosition , wxDefaultSize , wxLI_HORIZONTAL ) ;
2018-06-27 18:27:38 +00:00
bSizerMain - > Add ( m_staticline1 , 0 , wxALL | wxEXPAND , 5 ) ;
2020-03-17 16:08:29 +00:00
2015-12-20 18:47:52 +00:00
m_sdbSizer = new wxStdDialogButtonSizer ( ) ;
m_sdbSizerOK = new wxButton ( this , wxID_OK ) ;
m_sdbSizer - > AddButton ( m_sdbSizerOK ) ;
m_sdbSizerCancel = new wxButton ( this , wxID_CANCEL ) ;
m_sdbSizer - > AddButton ( m_sdbSizerCancel ) ;
m_sdbSizer - > Realize ( ) ;
2020-03-17 16:08:29 +00:00
2018-06-27 18:27:38 +00:00
bSizerMain - > Add ( m_sdbSizer , 0 , wxBOTTOM | wxEXPAND | wxLEFT | wxRIGHT , 5 ) ;
2020-03-17 16:08:29 +00:00
2015-12-20 18:47:52 +00:00
this - > SetSizer ( bSizerMain ) ;
this - > Layout ( ) ;
2017-12-27 17:09:27 +00:00
bSizerMain - > Fit ( this ) ;
2020-03-17 16:08:29 +00:00
2015-12-20 18:47:52 +00:00
this - > Centre ( wxBOTH ) ;
2020-03-17 16:08:29 +00:00
2015-12-20 18:47:52 +00:00
// Connect Events
this - > Connect ( wxEVT_CLOSE_WINDOW , wxCloseEventHandler ( DIALOG_GET_FOOTPRINT_BY_NAME_BASE : : onClose ) ) ;
m_choiceFpList - > Connect ( wxEVT_COMMAND_CHOICE_SELECTED , wxCommandEventHandler ( DIALOG_GET_FOOTPRINT_BY_NAME_BASE : : OnSelectFootprint ) , NULL , this ) ;
}
DIALOG_GET_FOOTPRINT_BY_NAME_BASE : : ~ DIALOG_GET_FOOTPRINT_BY_NAME_BASE ( )
{
// Disconnect Events
this - > Disconnect ( wxEVT_CLOSE_WINDOW , wxCloseEventHandler ( DIALOG_GET_FOOTPRINT_BY_NAME_BASE : : onClose ) ) ;
m_choiceFpList - > Disconnect ( wxEVT_COMMAND_CHOICE_SELECTED , wxCommandEventHandler ( DIALOG_GET_FOOTPRINT_BY_NAME_BASE : : OnSelectFootprint ) , NULL , this ) ;
2020-03-17 16:08:29 +00:00
2015-12-20 18:47:52 +00:00
}