wxPoint/Size/Rect() causes the same code with (0,0) initialization and is incomparably more readable and clear.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2903,7 +2903,7 @@ bool wxTreeCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
|
||||
wxASSERT_MSG( !m_dragImage, _T("starting to drag once again?") );
|
||||
|
||||
m_dragImage = new wxDragImage(*this, event.m_item);
|
||||
m_dragImage->BeginDrag(wxPoint(), this);
|
||||
m_dragImage->BeginDrag(wxPoint(0,0), this);
|
||||
m_dragImage->Show();
|
||||
}
|
||||
break;
|
||||
|
Reference in New Issue
Block a user