+ int sel = event.GetInt();
+ wxLogMessage(_T("Listbox item %d double clicked"), sel);
+}
+
+void LboxTestFrame::OnListboxRDown(wxMouseEvent& event)
+{
+ int item = m_lbox->HitTest(event.GetPosition());
+
+ if ( item != wxNOT_FOUND )
+ wxLogMessage(_T("Listbox item %d right clicked"), item);
+ else
+ wxLogMessage(_T("Listbox right clicked but no item clicked upon"));
+
+ event.Skip();