use LRESULT instead of LONG in MSWOnDraw() to fix it under Win64 (bug 1715591)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2007-05-11 13:01:34 +00:00
parent 05c5f28144
commit 81b635b1ef

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 );