From a98dad496d4a2b8f628d2f48874e38b08fa7f476 Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Sun, 13 May 2018 22:10:43 -0500 Subject: [PATCH] gcc, pls --- src/GUI/Dialogs/AboutDialog.cpp | 4 ++-- src/GUI/Plater.cpp | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) 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