From ff5a2c37c4ddf342e03a00bb0b7868659a9996f9 Mon Sep 17 00:00:00 2001 From: Nicolas Boichat Date: Sat, 17 Apr 2004 10:13:50 +0000 Subject: [PATCH] - Fixed right-click marking git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1222 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/wx-console/wxblistctrl.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/bacula/src/wx-console/wxblistctrl.cpp b/bacula/src/wx-console/wxblistctrl.cpp index 0034f06bbd..0300acc07e 100644 --- a/bacula/src/wx-console/wxblistctrl.cpp +++ b/bacula/src/wx-console/wxblistctrl.cpp @@ -63,12 +63,9 @@ void wxbListCtrl::OnDoubleClicked(wxMouseEvent& event) { * Send mark event if the user right clicked on an item. */ void wxbListCtrl::OnRightClicked(wxMouseEvent& event) { - if (event.GetX() < GetColumnWidth(0)) { - wxbListMarkedEvent evt(GetId()); + wxbListMarkedEvent evt(GetId()); - GetParent()->GetEventHandler()->ProcessEvent(evt); - } - event.Skip(); + GetParent()->GetEventHandler()->ProcessEvent(evt); } /* Customized tree event, used for marking events */ -- 2.39.5