2014-10-28 15:15:39 +00:00
///////////////////////////////////////////////////////////////////////////
2017-12-26 14:38:45 +00:00
// C++ code generated with wxFormBuilder (version Nov 22 2017)
2014-10-28 15:15:39 +00:00
// http://www.wxformbuilder.org/
//
2017-12-26 14:38:45 +00:00
// PLEASE DO *NOT* EDIT THIS FILE!
2014-10-28 15:15:39 +00:00
///////////////////////////////////////////////////////////////////////////
# include "fp_conflict_assignment_selector_base.h"
///////////////////////////////////////////////////////////////////////////
DIALOG_FP_CONFLICT_ASSIGNMENT_SELECTOR_BASE : : DIALOG_FP_CONFLICT_ASSIGNMENT_SELECTOR_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 ) ;
wxBoxSizer * bSizerMain ;
bSizerMain = new wxBoxSizer ( wxVERTICAL ) ;
2017-12-26 14:38:45 +00:00
m_staticTextInfo = new wxStaticText ( this , wxID_ANY , wxT ( " Footprint assignments from schematic netlist and symbol footprint association file (.cmp) are conflicting. \n \n Please choose the assignment. " ) , wxDefaultPosition , wxDefaultSize , wxALIGN_LEFT ) ;
2014-10-28 15:15:39 +00:00
m_staticTextInfo - > Wrap ( - 1 ) ;
bSizerMain - > Add ( m_staticTextInfo , 0 , wxALL | wxEXPAND , 5 ) ;
2014-10-29 09:52:39 +00:00
m_listFp = new wxListCtrl ( this , wxID_ANY , wxDefaultPosition , wxDefaultSize , wxLC_HRULES | wxLC_REPORT | wxLC_SINGLE_SEL | wxLC_VRULES ) ;
2014-10-28 15:15:39 +00:00
bSizerMain - > Add ( m_listFp , 1 , wxALL | wxEXPAND , 5 ) ;
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 ( ) ;
2017-12-26 14:38:45 +00:00
bSizerMain - > Add ( m_sdbSizer , 0 , wxALIGN_RIGHT | wxALL , 5 ) ;
2014-10-28 15:15:39 +00:00
this - > SetSizer ( bSizerMain ) ;
this - > Layout ( ) ;
2017-12-26 14:38:45 +00:00
bSizerMain - > Fit ( this ) ;
2014-10-28 15:15:39 +00:00
this - > Centre ( wxBOTH ) ;
// Connect Events
this - > Connect ( wxEVT_SIZE , wxSizeEventHandler ( DIALOG_FP_CONFLICT_ASSIGNMENT_SELECTOR_BASE : : OnSize ) ) ;
m_listFp - > Connect ( wxEVT_LEFT_DOWN , wxMouseEventHandler ( DIALOG_FP_CONFLICT_ASSIGNMENT_SELECTOR_BASE : : OnItemClicked ) , NULL , this ) ;
m_listFp - > Connect ( wxEVT_COMMAND_LIST_COL_CLICK , wxListEventHandler ( DIALOG_FP_CONFLICT_ASSIGNMENT_SELECTOR_BASE : : OnColumnClick ) , NULL , this ) ;
m_sdbSizerCancel - > Connect ( wxEVT_COMMAND_BUTTON_CLICKED , wxCommandEventHandler ( DIALOG_FP_CONFLICT_ASSIGNMENT_SELECTOR_BASE : : OnCancelClick ) , NULL , this ) ;
m_sdbSizerOK - > Connect ( wxEVT_COMMAND_BUTTON_CLICKED , wxCommandEventHandler ( DIALOG_FP_CONFLICT_ASSIGNMENT_SELECTOR_BASE : : OnOKClick ) , NULL , this ) ;
}
DIALOG_FP_CONFLICT_ASSIGNMENT_SELECTOR_BASE : : ~ DIALOG_FP_CONFLICT_ASSIGNMENT_SELECTOR_BASE ( )
{
// Disconnect Events
this - > Disconnect ( wxEVT_SIZE , wxSizeEventHandler ( DIALOG_FP_CONFLICT_ASSIGNMENT_SELECTOR_BASE : : OnSize ) ) ;
m_listFp - > Disconnect ( wxEVT_LEFT_DOWN , wxMouseEventHandler ( DIALOG_FP_CONFLICT_ASSIGNMENT_SELECTOR_BASE : : OnItemClicked ) , NULL , this ) ;
m_listFp - > Disconnect ( wxEVT_COMMAND_LIST_COL_CLICK , wxListEventHandler ( DIALOG_FP_CONFLICT_ASSIGNMENT_SELECTOR_BASE : : OnColumnClick ) , NULL , this ) ;
m_sdbSizerCancel - > Disconnect ( wxEVT_COMMAND_BUTTON_CLICKED , wxCommandEventHandler ( DIALOG_FP_CONFLICT_ASSIGNMENT_SELECTOR_BASE : : OnCancelClick ) , NULL , this ) ;
m_sdbSizerOK - > Disconnect ( wxEVT_COMMAND_BUTTON_CLICKED , wxCommandEventHandler ( DIALOG_FP_CONFLICT_ASSIGNMENT_SELECTOR_BASE : : OnOKClick ) , NULL , this ) ;
}