Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuSanka <yusanka@gmail.com>2018-11-29 17:42:33 +0300
committerYuSanka <yusanka@gmail.com>2018-11-30 13:22:06 +0300
commit4bb771683dfb6f7efa354167b2ffec5779a03c77 (patch)
tree35af0226fc32800df81c76d681aa261d8d8f3904 /src/slic3r/GUI/2DBed.hpp
parent4e4760bb8255d7c096ebef33893b7bf781e8d703 (diff)
Fixed assert message after wxAutoBufferedPaintDC and warnings in 2DBed.cpp
Diffstat (limited to 'src/slic3r/GUI/2DBed.hpp')
-rw-r--r--src/slic3r/GUI/2DBed.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/slic3r/GUI/2DBed.hpp b/src/slic3r/GUI/2DBed.hpp
index fefccb403..463561953 100644
--- a/src/slic3r/GUI/2DBed.hpp
+++ b/src/slic3r/GUI/2DBed.hpp
@@ -28,6 +28,7 @@ public:
Bed_2D(wxWindow* parent)
{
Create(parent, wxID_ANY, wxDefaultPosition, wxSize(250, -1), wxTAB_TRAVERSAL);
+ SetBackgroundStyle(wxBG_STYLE_PAINT); // to avoid assert message after wxAutoBufferedPaintDC
// m_user_drawn_background = $^O ne 'darwin';
#ifdef __APPLE__
m_user_drawn_background = false;