diff --git a/src/ribbon/buttonbar.cpp b/src/ribbon/buttonbar.cpp index ea13d73fe2..34c4406573 100644 --- a/src/ribbon/buttonbar.cpp +++ b/src/ribbon/buttonbar.cpp @@ -42,6 +42,7 @@ BEGIN_EVENT_TABLE(wxRibbonButtonBar, wxRibbonControl) EVT_PAINT(wxRibbonButtonBar::OnPaint) EVT_SIZE(wxRibbonButtonBar::OnSize) EVT_LEFT_DOWN(wxRibbonButtonBar::OnMouseDown) + EVT_LEFT_DCLICK(wxRibbonButtonBar::OnMouseDown) EVT_LEFT_UP(wxRibbonButtonBar::OnMouseUp) END_EVENT_TABLE() diff --git a/src/ribbon/toolbar.cpp b/src/ribbon/toolbar.cpp index 86b094ac41..9967ae5268 100644 --- a/src/ribbon/toolbar.cpp +++ b/src/ribbon/toolbar.cpp @@ -68,6 +68,7 @@ BEGIN_EVENT_TABLE(wxRibbonToolBar, wxRibbonControl) EVT_ERASE_BACKGROUND(wxRibbonToolBar::OnEraseBackground) EVT_LEAVE_WINDOW(wxRibbonToolBar::OnMouseLeave) EVT_LEFT_DOWN(wxRibbonToolBar::OnMouseDown) + EVT_LEFT_DCLICK(wxRibbonToolBar::OnMouseDown) EVT_LEFT_UP(wxRibbonToolBar::OnMouseUp) EVT_MOTION(wxRibbonToolBar::OnMouseMove) EVT_PAINT(wxRibbonToolBar::OnPaint)