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>2019-02-04 12:35:16 +0300
committerYuSanka <yusanka@gmail.com>2019-02-04 12:35:16 +0300
commit4005d06452385b0bf22cfca0ebe7d912d5814702 (patch)
tree301cd6367666e4bf637b54eb075d93b50c34fdd2 /src/slic3r/GUI/2DBed.hpp
parentba6206ab6275655ede977b56df3b367786b0d69e (diff)
Fixed "hard_code" setting of the size for the Sidebar and Tabs
+ Fixed assert after config_wizard changing
Diffstat (limited to 'src/slic3r/GUI/2DBed.hpp')
-rw-r--r--src/slic3r/GUI/2DBed.hpp16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/slic3r/GUI/2DBed.hpp b/src/slic3r/GUI/2DBed.hpp
index 463561953..579ef4445 100644
--- a/src/slic3r/GUI/2DBed.hpp
+++ b/src/slic3r/GUI/2DBed.hpp
@@ -25,21 +25,7 @@ class Bed_2D : public wxPanel
void set_pos(Vec2d pos);
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;
-#endif /*__APPLE__*/
- Bind(wxEVT_PAINT, ([this](wxPaintEvent e) { repaint(); }));
-// EVT_ERASE_BACKGROUND($self, sub{}) if $self->{user_drawn_background};
-// Bind(EVT_MOUSE_EVENTS, ([this](wxMouseEvent event) {/*mouse_event()*/; }));
- Bind(wxEVT_LEFT_DOWN, ([this](wxMouseEvent event) { mouse_event(event); }));
- Bind(wxEVT_MOTION, ([this](wxMouseEvent event) { mouse_event(event); }));
- Bind(wxEVT_SIZE, ([this](wxSizeEvent e) { Refresh(); }));
- }
+ Bed_2D(wxWindow* parent);
~Bed_2D() {}
std::vector<Vec2d> m_bed_shape;