added test for HitTest(m_dragPoint) bug to the sample

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-08-25 15:41:46 +00:00
parent 8d1d22845a
commit 6dc34ebbd8

View File

@@ -579,8 +579,11 @@ void MyListCtrl::OnColClick(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)