#include "basepanel.h" CBasePanel::CBasePanel(wxWindow* parent) { } void CBasePanel::Init() { auto* topSizer = new wxBoxSizer(wxVERTICAL); auto* szL1 = new wxBoxSizer(wxHORIZONTAL); auto* lbIp = new wxStaticText(this, wxID_ANY, _("ServerIP:")); edIp_ = new wxTextCtrl(this, wxID_ANY, _("")); auto* lbPort = new wxStaticText(this, wxID_ANY, _("Port:")); edPort_ = new wxTextCtrl(this, wxID_ANY, _("Port")); szL1->Add(lbIp, 0, wxALL, 5); szL1->Add(edIp_, 0, wxALL, 5); szL1->Add(lbPort, 0, wxALL, 5); szL1->Add(edPort_, 0, wxALL, 5); }