Compilation fix

This commit is contained in:
Dima Buzdyk 2025-01-12 16:20:32 +05:00
parent 51f84136a5
commit 9fc00e8944

View file

@ -374,7 +374,7 @@ void PhysicalPrinterDialog::build_printhost_settings(ConfigOptionsGroup* m_optgr
// Always fill in the "printhost_port" combo box from the config and select it.
{
Choice* choice = dynamic_cast<Choice*>(m_optgroup->get_field("printhost_port"));
choice->set_values(wxArrayString{ m_config->opt_string("printhost_port") });
choice->set_values(std::vector<std::string>{ m_config->opt_string("printhost_port") });
choice->set_selection();
}