From ca9fc039c120c294e8fe72e44004513a339e9b2e Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 9 Sep 2010 22:20:07 +0000 Subject: [PATCH 1/1] Fix cast of pointer to int in artprov sample. This prevented the sample from building when using MinGW-64 and also probably prevented it from working correctly on other 64-bit systems. Closes #12453. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/artprov/artbrows.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/artprov/artbrows.cpp b/samples/artprov/artbrows.cpp index e4436c9a11..b4a6f622c1 100644 --- a/samples/artprov/artbrows.cpp +++ b/samples/artprov/artbrows.cpp @@ -39,7 +39,7 @@ else \ ind = 0; \ list->InsertItem(index, wxT(#id), ind); \ - list->SetItemData(index, (long)id); \ + list->SetItemPtrData(index, wxPtrToUInt(id)); \ index++; \ } -- 2.47.2