3DScene's char event handler moved to c++

This commit is contained in:
Enrico Turri 2018-05-15 16:09:04 +02:00
parent 2b4829a4b9
commit 41c51d7614
4 changed files with 70 additions and 30 deletions

View file

@ -8,6 +8,7 @@ class wxGLCanvas;
class wxGLContext;
class wxSizeEvent;
class wxIdleEvent;
class wxKeyEvent;
namespace Slic3r {
@ -172,6 +173,7 @@ public:
void on_size(wxSizeEvent& evt);
void on_idle(wxIdleEvent& evt);
void on_char(wxKeyEvent& evt);
private:
void _zoom_to_bounding_box(const BoundingBoxf3& bbox);