12DIALOG_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 )
14 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
16 wxBoxSizer* bSizerMain;
17 bSizerMain =
new wxBoxSizer( wxVERTICAL );
19 m_staticTextInfo =
new wxStaticText(
this, wxID_ANY,
_(
"Footprint assignments from schematic netlist and symbol footprint association file (.cmp) are conflicting.\n\nPlease choose the assignment."), wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT );
23 m_listFp =
new wxListCtrl(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_HRULES|wxLC_REPORT|wxLC_SINGLE_SEL|wxLC_VRULES );
24 bSizerMain->Add(
m_listFp, 1, wxALL|wxEXPAND, 5 );
33 bSizerMain->Add(
m_sdbSizer, 0, wxALIGN_RIGHT|wxALL, 5 );
36 this->SetSizer( bSizerMain );
38 bSizerMain->Fit(
this );
40 this->Centre( wxBOTH );
virtual void OnCancelClick(wxCommandEvent &event)
~DIALOG_FP_CONFLICT_ASSIGNMENT_SELECTOR_BASE()
DIALOG_FP_CONFLICT_ASSIGNMENT_SELECTOR_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Footprint Assignment Conflicts"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
virtual void OnSize(wxSizeEvent &event)
virtual void OnOKClick(wxCommandEvent &event)
wxButton * m_sdbSizerCancel
wxStaticText * m_staticTextInfo
virtual void OnColumnClick(wxListEvent &event)
virtual void OnItemClicked(wxMouseEvent &event)
wxStdDialogButtonSizer * m_sdbSizer
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...