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
This commit is contained in:
Vadim Zeitlin
2010-09-09 22:20:07 +00:00
parent ba75967c9c
commit ca9fc039c1

View File

@@ -39,7 +39,7 @@
else \ else \
ind = 0; \ ind = 0; \
list->InsertItem(index, wxT(#id), ind); \ list->InsertItem(index, wxT(#id), ind); \
list->SetItemData(index, (long)id); \ list->SetItemPtrData(index, wxPtrToUInt(id)); \
index++; \ index++; \
} }