mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-04 02:30:41 +08:00
compiler misinterprets as initializer list -.-
This commit is contained in:
parent
1d64d9ae17
commit
dc0bc0bbdb
@ -20,7 +20,7 @@ AboutDialog::AboutDialog(wxWindow* parent) : wxDialog(parent, -1, _("About Slic3
|
|||||||
|
|
||||||
// title
|
// title
|
||||||
auto title = new wxStaticText(this, -1, "Slic3r", wxDefaultPosition, wxDefaultSize);
|
auto title = new wxStaticText(this, -1, "Slic3r", wxDefaultPosition, wxDefaultSize);
|
||||||
auto title_font { wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT) };
|
auto title_font = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT);
|
||||||
|
|
||||||
title_font.SetWeight(wxFONTWEIGHT_BOLD);
|
title_font.SetWeight(wxFONTWEIGHT_BOLD);
|
||||||
title_font.SetFamily(wxFONTFAMILY_ROMAN);
|
title_font.SetFamily(wxFONTFAMILY_ROMAN);
|
||||||
@ -32,7 +32,7 @@ AboutDialog::AboutDialog(wxWindow* parent) : wxDialog(parent, -1, _("About Slic3
|
|||||||
// version
|
// version
|
||||||
|
|
||||||
auto version = new wxStaticText(this, -1, wxString("Version ") + wxString(SLIC3R_VERSION), wxDefaultPosition, wxDefaultSize);
|
auto version = new wxStaticText(this, -1, wxString("Version ") + wxString(SLIC3R_VERSION), wxDefaultPosition, wxDefaultSize);
|
||||||
auto version_font { wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT) };
|
auto version_font = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT);
|
||||||
version_font.SetPointSize((the_os == OS::Windows ? 9 : 11));
|
version_font.SetPointSize((the_os == OS::Windows ? 9 : 11));
|
||||||
version->SetFont(version_font);
|
version->SetFont(version_font);
|
||||||
vsizer->Add(version, 0, wxALIGN_LEFT | wxBOTTOM, 10);
|
vsizer->Add(version, 0, wxALIGN_LEFT | wxBOTTOM, 10);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user