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:
parent
05c5f28144
commit
81b635b1ef
@ -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 );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user