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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user