From: Vadim Zeitlin Date: Wed, 16 Feb 2000 20:07:51 +0000 (+0000) Subject: compilation fix for the generic version X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e97320d40d53774d1aba3ec5f513572c51d5d13b?ds=inline compilation fix for the generic version git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/treectrl/treetest.cpp b/samples/treectrl/treetest.cpp index 135b59b7ed..46e44ed238 100644 --- a/samples/treectrl/treetest.cpp +++ b/samples/treectrl/treetest.cpp @@ -661,7 +661,7 @@ void MyTreeCtrl::OnEndDrag(wxTreeEvent& event) { wxTreeItemId itemSrc = m_draggedItem, itemDst = event.GetItem(); - m_draggedItem = 0; + m_draggedItem = (wxTreeItemId)0l; // where to copy the item? if ( itemDst.IsOk() && !ItemHasChildren(itemDst) )