1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00

Fix for last commit

This commit is contained in:
YuSanka
2018-08-22 08:54:07 +02:00
parent bc64154f21
commit 5cd4597d38
+2
View File
@@ -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;