X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8b939bc081a993eda1d0ef56cbabaafee5c69f17..b16de7461ac6d97b0b04a5ce4e73447925e93416:/src/generic/vlbox.cpp diff --git a/src/generic/vlbox.cpp b/src/generic/vlbox.cpp index 89438eaae9..9bb7cde2d0 100644 --- a/src/generic/vlbox.cpp +++ b/src/generic/vlbox.cpp @@ -577,7 +577,7 @@ void wxVListBox::OnKeyDown(wxKeyEvent& event) void wxVListBox::OnLeftDown(wxMouseEvent& event) { SetFocus(); - + int item = HitTest(event.GetPosition()); if ( item != wxNOT_FOUND ) @@ -599,9 +599,9 @@ void wxVListBox::OnLeftDown(wxMouseEvent& event) } } -void wxVListBox::OnLeftDClick(wxMouseEvent& event) +void wxVListBox::OnLeftDClick(wxMouseEvent& eventMouse) { - int item = HitTest(event.GetPosition()); + int item = HitTest(eventMouse.GetPosition()); if ( item != wxNOT_FOUND ) { wxCommandEvent event(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, GetId());