]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for the generic version
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 16 Feb 2000 20:07:51 +0000 (20:07 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 16 Feb 2000 20:07:51 +0000 (20:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/treectrl/treetest.cpp

index 135b59b7edddd9a8ae805e509e02ef22b61c6675..46e44ed2388d346224e0595721b38e3863e32512 100644 (file)
@@ -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) )