diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/content_timeline.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wx/content_timeline.cc b/src/wx/content_timeline.cc index 682d1e568..0f176e80f 100644 --- a/src/wx/content_timeline.cc +++ b/src/wx/content_timeline.cc @@ -104,6 +104,7 @@ ContentTimeline::ContentTimeline(wxWindow* parent, ContentPanel* cp, shared_ptr< _labels_canvas->Bind(wxEVT_PAINT, boost::bind(&ContentTimeline::paint_labels, this)); _main_canvas->Bind(wxEVT_PAINT, boost::bind(&ContentTimeline::paint_main, this)); _main_canvas->Bind(wxEVT_LEFT_DOWN, boost::bind(&ContentTimeline::left_down, this, _1)); + _main_canvas->Bind(wxEVT_LEFT_DCLICK,boost::bind(&ContentTimeline::left_down, this, _1)); _main_canvas->Bind(wxEVT_LEFT_UP, boost::bind(&ContentTimeline::left_up, this, _1)); _main_canvas->Bind(wxEVT_RIGHT_DOWN, boost::bind(&ContentTimeline::right_down, this, _1)); _main_canvas->Bind(wxEVT_MOTION, boost::bind(&ContentTimeline::mouse_moved, this, _1)); |
