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:
@@ -798,7 +798,7 @@ bool wxListBox::MSWOnDraw(WXDRAWITEMSTRUCT *item)
|
|||||||
if ( itemID == (UINT)-1 )
|
if ( itemID == (UINT)-1 )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
long data = ListBox_GetItemData(GetHwnd(), pStruct->itemID);
|
LRESULT data = ListBox_GetItemData(GetHwnd(), pStruct->itemID);
|
||||||
|
|
||||||
wxCHECK( data && (data != LB_ERR), false );
|
wxCHECK( data && (data != LB_ERR), false );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user