Warning fixes for win64
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -354,7 +354,7 @@ int wxListBox::FindString(const wxString& s, bool bCase) const
|
||||
if (bCase)
|
||||
return wxItemContainerImmutable::FindString( s, bCase );
|
||||
|
||||
int pos = ListBox_FindStringExact(GetHwnd(), (WPARAM)-1, s);
|
||||
int pos = ListBox_FindStringExact(GetHwnd(), -1, s);
|
||||
if (pos == LB_ERR)
|
||||
return wxNOT_FOUND;
|
||||
else
|
||||
|
Reference in New Issue
Block a user