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-10-31 14:56:08 +0300
committerYuSanka <yusanka@gmail.com>2018-10-31 14:58:35 +0300
commit7f08f460f10c3a83c795f22c7022c1492297d5c2 (patch)
tree56b060543f2baddd2251810463e2edbe7a5cb208 /src/slic3r/GUI/2DBed.hpp
parentd2844bc39d2a67522ff8c26c2b2de788ba03325b (diff)
Some code review
Diffstat (limited to 'src/slic3r/GUI/2DBed.hpp')
-rw-r--r--src/slic3r/GUI/2DBed.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/slic3r/GUI/2DBed.hpp b/src/slic3r/GUI/2DBed.hpp
index d7a7f4260..5df596136 100644
--- a/src/slic3r/GUI/2DBed.hpp
+++ b/src/slic3r/GUI/2DBed.hpp
@@ -34,12 +34,12 @@ public:
#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(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(){}
+ ~Bed_2D() {}
std::vector<Vec2d> m_bed_shape;