diff options
author | YuSanka <yusanka@gmail.com> | 2018-11-29 17:42:33 +0300 |
---|---|---|
committer | YuSanka <yusanka@gmail.com> | 2018-11-30 13:22:06 +0300 |
commit | 4bb771683dfb6f7efa354167b2ffec5779a03c77 (patch) | |
tree | 35af0226fc32800df81c76d681aa261d8d8f3904 /src/slic3r/GUI/2DBed.hpp | |
parent | 4e4760bb8255d7c096ebef33893b7bf781e8d703 (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.hpp | 1 |
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; |