From b81c774ee5c2e60486c8643c5e54e694fbe48861 Mon Sep 17 00:00:00 2001 From: YuSanka Date: Sun, 5 Apr 2020 13:20:27 +0200 Subject: [PATCH] Fixed build on OSX --- src/slic3r/GUI/OptionsGroup.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/slic3r/GUI/OptionsGroup.hpp b/src/slic3r/GUI/OptionsGroup.hpp index 5b4879f67..f5b181f60 100644 --- a/src/slic3r/GUI/OptionsGroup.hpp +++ b/src/slic3r/GUI/OptionsGroup.hpp @@ -205,12 +205,12 @@ public: const wxPen pen = wxPen(wxColour(250, 10, 10), 2, wxPENSTYLE_SOLID); dc.SetPen(pen); dc.SetBrush(wxBrush(wxColour(250, 0, 0), wxBRUSHSTYLE_SOLID)); - dc.DrawRectangle(5, 5, sz.x - 5, sz.y - 5); - + dc.DrawRectangle(25, 25, sz.x - 25, sz.y - 25); +/* HDC hdc = GetHdcOf(dc); RECT dim = { 5, 5, sz.x - 5, sz.y - 5 }; ::FillRect(hdc, &dim, GetHbrushOf(wxBrush(wxColour( 0, 250,0), wxBRUSHSTYLE_SOLID))); - +*/ }); }