From: Václav Slavík Date: Sun, 17 Mar 2002 00:51:18 +0000 (+0000) Subject: restored old casts (there was a reason for them) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/22fb32d5071b4a234cb600e50e59f971dd78d04a restored old casts (there was a reason for them) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/treectrl.cpp b/src/msw/treectrl.cpp index e725794176..ee2a775b34 100644 --- a/src/msw/treectrl.cpp +++ b/src/msw/treectrl.cpp @@ -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); }