From: Nicolas Boichat Date: Sat, 17 Apr 2004 10:13:50 +0000 (+0000) Subject: - Fixed right-click marking X-Git-Tag: Release-1.34.1~31 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ff5a2c37c4ddf342e03a00bb0b7868659a9996f9;p=bacula%2Fbacula - Fixed right-click marking git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1222 91ce42f0-d328-0410-95d8-f526ca767f89 --- 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 */