use LRESULT instead of LONG in MSWOnDraw() to fix it under Win64 (bug 1715591) [backport from HEAD]

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-05-11 13:05:02 +00:00
parent 9038e724d3
commit 86f2f2101e

View File

@@ -798,7 +798,7 @@ bool wxListBox::MSWOnDraw(WXDRAWITEMSTRUCT *item)
if ( itemID == (UINT)-1 )
return false;
long data = ListBox_GetItemData(GetHwnd(), pStruct->itemID);
LRESULT data = ListBox_GetItemData(GetHwnd(), pStruct->itemID);
wxCHECK( data && (data != LB_ERR), false );