diff --git a/src/GUI/Dialogs/AboutDialog.cpp b/src/GUI/Dialogs/AboutDialog.cpp index 84211d62d..745d53a7d 100644 --- a/src/GUI/Dialogs/AboutDialog.cpp +++ b/src/GUI/Dialogs/AboutDialog.cpp @@ -88,8 +88,8 @@ void AboutDialogLogo::repaint(wxPaintEvent& event) dc.SetBackgroundMode(wxPENSTYLE_TRANSPARENT); const wxSize size = this->GetSize() ; - const auto logo_w {this->logo.GetWidth()}; - const auto logo_h {this->logo.GetHeight()}; + const auto logo_w = this->logo.GetWidth(); + const auto logo_h = this->logo.GetHeight(); dc.DrawBitmap(this->logo, (size.GetWidth() - logo_w) / 2, (size.GetHeight() - logo_h) / 2, 1); event.Skip(); diff --git a/src/GUI/Plater.cpp b/src/GUI/Plater.cpp index 24cce1573..051949ca2 100644 --- a/src/GUI/Plater.cpp +++ b/src/GUI/Plater.cpp @@ -1,4 +1,6 @@ #include +#include + #include #include #include