From 5cd4597d387264bb7739a882936f7bd150830495 Mon Sep 17 00:00:00 2001 From: YuSanka Date: Wed, 22 Aug 2018 08:54:07 +0200 Subject: [PATCH] Fix for last commit --- xs/src/slic3r/GUI/wxExtensions.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xs/src/slic3r/GUI/wxExtensions.cpp b/xs/src/slic3r/GUI/wxExtensions.cpp index 3ba0d3886..fe1018076 100644 --- a/xs/src/slic3r/GUI/wxExtensions.cpp +++ b/xs/src/slic3r/GUI/wxExtensions.cpp @@ -767,7 +767,9 @@ PrusaDoubleSlider::PrusaDoubleSlider( wxWindow *parent, m_min_value(minValue), m_max_value(maxValue), m_style(style) { +#ifndef __WXOSX__ // SetDoubleBuffered exists on Win and Linux/GTK, but is missing on OSX SetDoubleBuffered(true); +#endif //__WXOSX__ if (m_style != wxSL_HORIZONTAL && m_style != wxSL_VERTICAL) m_style = wxSL_HORIZONTAL;