mirror of https://github.com/PCSX2/pcsx2.git
DEV9: Clean up config code
This commit is contained in:
parent
f5cfd7e6bf
commit
18b982dc6a
|
@ -141,13 +141,14 @@ public:
|
||||||
adapter_api_name_list.Add("");
|
adapter_api_name_list.Add("");
|
||||||
for (const NetApi& type : m_api_list)
|
for (const NetApi& type : m_api_list)
|
||||||
adapter_api_name_list.Add(NetApiToWxString(type));
|
adapter_api_name_list.Add(NetApiToWxString(type));
|
||||||
|
|
||||||
auto* eth_adapter_api_label = new wxStaticText(this, wxID_ANY, _("Ethernet Device Type:"));
|
auto* eth_adapter_api_label = new wxStaticText(this, wxID_ANY, _("Ethernet Device Type:"));
|
||||||
m_eth_adapter_api = new wxChoice(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, adapter_api_name_list);
|
|
||||||
auto* eth_adapter_label = new wxStaticText(this, wxID_ANY, _("Ethernet Device:"));
|
auto* eth_adapter_label = new wxStaticText(this, wxID_ANY, _("Ethernet Device:"));
|
||||||
m_eth_adapter = new wxChoice(this, wxID_ANY);
|
|
||||||
auto* intercept_dhcp_label = new wxStaticText(this, wxID_ANY, _("Intercept DHCP:"));
|
auto* intercept_dhcp_label = new wxStaticText(this, wxID_ANY, _("Intercept DHCP:"));
|
||||||
m_intercept_dhcp = new wxCheckBox(this, wxID_ANY, _("Enabled"));
|
|
||||||
auto* ps2_addr_label = new wxStaticText(this, wxID_ANY, _("PS2 Address:"));
|
auto* ps2_addr_label = new wxStaticText(this, wxID_ANY, _("PS2 Address:"));
|
||||||
|
m_eth_adapter_api = new wxChoice(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, adapter_api_name_list);
|
||||||
|
m_eth_adapter = new wxChoice(this, wxID_ANY);
|
||||||
|
m_intercept_dhcp = new wxCheckBox(this, wxID_ANY, _("Enabled"));
|
||||||
m_ps2_address = new wxTextCtrl(this, wxID_ANY);
|
m_ps2_address = new wxTextCtrl(this, wxID_ANY);
|
||||||
m_ps2_address->SetMinSize(wxSize(150, -1));
|
m_ps2_address->SetMinSize(wxSize(150, -1));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue