- add_label_to_sizer (table, this, _("Host name or IP address"), true);
- _host = new wxTextCtrl (this, wxID_ANY, wxT (""), wxDefaultPosition, size);
- table->Add (_host, 1, wxEXPAND | wxALL);
+ add (_("Host name or IP address"), true);
+ _host = add (new wxTextCtrl (this, wxID_ANY, wxT (""), wxDefaultPosition, size));