12DIALOG_IMPORT_CHOOSE_PROJECT_BASE::DIALOG_IMPORT_CHOOSE_PROJECT_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( wxSize( -1,-1 ), wxDefaultSize );
18 m_titleText =
new wxStaticText(
this, wxID_ANY,
_(
"This project file contains multiple PCB+Schematic combinations.\nChoose which one should be imported to KiCad."), wxDefaultPosition, wxDefaultSize, 0 );
22 m_listCtrl =
new wxListCtrl(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_HRULES|wxLC_REPORT|wxLC_SINGLE_SEL|wxLC_VRULES );
25 wxBoxSizer* bSizerBottom;
26 bSizerBottom =
new wxBoxSizer( wxHORIZONTAL );
33 bSizerBottom->Add(
m_sdbSizer, 1, wxEXPAND, 5 );
36 bSizerMain->Add( bSizerBottom, 0, wxBOTTOM|wxEXPAND|wxLEFT|wxTOP, 5 );
DIALOG_IMPORT_CHOOSE_PROJECT_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Choose Project to Import"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxCAPTION|wxCLOSE_BOX|wxRESIZE_BORDER)
~DIALOG_IMPORT_CHOOSE_PROJECT_BASE()
wxStdDialogButtonSizer * m_sdbSizer
wxStaticText * m_titleText
virtual void onItemActivated(wxListEvent &event)
virtual void onClose(wxCloseEvent &event)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...