This was introduced by the last change to this file in r62058.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62150
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
int cx, cy;
wxGetCharSize( GetHWND(), &cx, &cy, GetFont() );
{
int cx, cy;
wxGetCharSize( GetHWND(), &cx, &cy, GetFont() );
- int hItem = SendMessage(GetHwnd(), CB_GETITEMHEIGHT, -1, 0);
+ int hItem = SendMessage(GetHwnd(), CB_GETITEMHEIGHT, (WPARAM)-1, 0);
return EDIT_HEIGHT_FROM_CHAR_HEIGHT( cy ) * wxMin( wxMax( nItems, 3 ), 6 ) + hItem - 1;
}
return EDIT_HEIGHT_FROM_CHAR_HEIGHT( cy ) * wxMin( wxMax( nItems, 3 ), 6 ) + hItem - 1;
}