]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/treectrl.cpp
wxX11 wants to have the border style flag
[wxWidgets.git] / 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);
 }