]> git.saurik.com Git - wxWidgets.git/commitdiff
restored old casts (there was a reason for them)
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 17 Mar 2002 00:51:18 +0000 (00:51 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 17 Mar 2002 00:51:18 +0000 (00:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/treectrl.cpp

index e7257941766d566cb385c928dd323ba78f3cd508..ee2a775b345b2db3ebfbed41ea8532b6d4b33ece 100644 (file)
@@ -1514,7 +1514,7 @@ wxTreeItemId wxTreeCtrl::AddRoot(const wxString& text,
         return TVI_ROOT;
     }
 
-    return DoInsertItem(wxTreeItemId((WXHTREEITEM) 0), (WXHTREEITEM) 0,
+    return DoInsertItem(wxTreeItemId((long)(WXHTREEITEM) 0), (long)(WXHTREEITEM) 0,
                         text, image, selectedImage, data);
 }