git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11474
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void MyListCtrl::OnBeginDrag(wxListEvent& event)
{
void MyListCtrl::OnBeginDrag(wxListEvent& event)
{
- wxLogMessage( wxT("OnBeginDrag at %d,%d."),
- event.m_pointDrag.x, event.m_pointDrag.y );
+ const wxPoint& pt = event.m_pointDrag;
+
+ int flags;
+ wxLogMessage( wxT("OnBeginDrag at (%d, %d), item %ld."),
+ pt.x, pt.y, HitTest(pt, flags) );
}
void MyListCtrl::OnBeginRDrag(wxListEvent& event)
}
void MyListCtrl::OnBeginRDrag(wxListEvent& event)