113 ?
_(
"No default footprint" )
126 using json = nlohmann::json;
132 json filtersArray = json::array();
135 filtersArray.push_back(
filter.ToStdString() );
137 request[
"filters"] = filtersArray;
159 using FilterFunc = wxString ( * )(
const wxString& );
162 wxString requestStr = wxString::FromUTF8( request.dump() );
166 json response = json::parse( responseStr.ToStdString() );
168 if( response.is_array() )
170 for(
const auto& item : response )
172 if( item.is_string() )
174 wxString fpName = wxString::FromUTF8( item.get<std::string>() );
175 m_fp_sel_ctrl->Append( fpName,
new wxStringClientData( fpName ) );
180 catch(
const std::exception& e )
IFACE KIFACE_BASE kiface("pcb_test_frame", KIWAY::FACE_PCB)