Modified text for tooltips and ButtonsDescription

This commit is contained in:
YuSanka 2018-04-24 08:49:37 +02:00
parent b0841f78f4
commit e31f5fc4b6
2 changed files with 30 additions and 24 deletions

View file

@ -24,10 +24,12 @@ ButtonsDescription::ButtonsDescription(wxWindow* parent, t_icon_descriptions* ic
std::istringstream f(pair.second);
std::string s;
while (getline(f, s, ';')) {
auto description = new wxStaticText(this, wxID_ANY, _(s));
grid_sizer->Add(description, -1, wxALIGN_CENTRE_VERTICAL);
}
getline(f, s, ';');
auto description = new wxStaticText(this, wxID_ANY, _(s));
grid_sizer->Add(description, -1, wxALIGN_CENTRE_VERTICAL);
getline(f, s, ';');
description = new wxStaticText(this, wxID_ANY, _(s));
grid_sizer->Add(description, -1, wxALIGN_CENTRE_VERTICAL | wxEXPAND);
}
auto button = CreateStdDialogButtonSizer(wxOK);