void wxVListBox::OnLeftDown(wxMouseEvent& event)
{
SetFocus();
-
+
int item = HitTest(event.GetPosition());
if ( item != wxNOT_FOUND )
}
}
-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());