27                                                            const std::vector<IMPORT_PROJECT_DESC>& aProjectDesc ) :
 
   33    int comboNameColId = 
m_listCtrl->AppendColumn( 
_( 
"Project Name" ) );
 
   34    int pcbNameColId = 
m_listCtrl->AppendColumn( 
_( 
"PCB" ) );
 
   35    int schNameColId = 
m_listCtrl->AppendColumn( 
_( 
"Schematic" ) );
 
   41            []( 
const wxString& aName, 
const wxString& aId ) -> wxString
 
   51        m_listCtrl->InsertItem( row, convertName( desc.ComboName, desc.ComboId ) );
 
   52        m_listCtrl->SetItem( row, pcbNameColId, convertName( desc.PCBName, desc.PCBId ) );
 
   53        m_listCtrl->SetItem( row, schNameColId, convertName( desc.SchematicName,
 
   60    m_listCtrl->SetItemState( 0, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED );
 
   62    m_listCtrl->SetColumnWidth( comboNameColId, wxLIST_AUTOSIZE_USEHEADER );
 
   63    m_listCtrl->SetColumnWidth( pcbNameColId, wxLIST_AUTOSIZE_USEHEADER );
 
   64    m_listCtrl->SetColumnWidth( schNameColId, wxLIST_AUTOSIZE_USEHEADER );
 
 
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)
 
wxString result
Test unit parsing edge cases and error handling.