X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8b939bc081a993eda1d0ef56cbabaafee5c69f17..0ad966eeac4c245a745c6a2056613f9c7367e4b2:/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());