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)
|
void MyListCtrl::OnBeginDrag(wxListEvent& event)
|
||||||
{
|
{
|
||||||
wxLogMessage( wxT("OnBeginDrag at %d,%d."),
|
const wxPoint& pt = event.m_pointDrag;
|
||||||
event.m_pointDrag.x, event.m_pointDrag.y );
|
|
||||||
|
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)
|
||||||
|
Reference in New Issue
Block a user