X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fcontent_menu.cc;h=fb255b3606aafed7d51b2d0646ab7d310f7c4d42;hb=41f50eed8ca9b034fc4f6d5cbd1b3b475e9279e2;hp=de3aceac0ff574c2e4d0c9ce81712eeab4217d0f;hpb=c27d6f3a7e6c79c60ffac7c616dd3a3431819862;p=dcpomatic.git diff --git a/src/wx/content_menu.cc b/src/wx/content_menu.cc index de3aceac0..fb255b360 100644 --- a/src/wx/content_menu.cc +++ b/src/wx/content_menu.cc @@ -88,7 +88,7 @@ ContentMenu::ContentMenu (wxWindow* p) _parent->Bind (wxEVT_COMMAND_MENU_SELECTED, boost::bind (&ContentMenu::ov, this), ID_ov); _parent->Bind (wxEVT_COMMAND_MENU_SELECTED, boost::bind (&ContentMenu::remove, this), ID_remove); - _parent->Bind (wxEVT_MENU, boost::bind (&ContentMenu::cpl_selected, this, _1), 0, ID_repeat); + _parent->Bind (wxEVT_MENU, boost::bind (&ContentMenu::cpl_selected, this, _1), 0, ID_repeat - 1); } ContentMenu::~ContentMenu ()