Warning fix due to unsigned nature of wParam.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2004-10-28 11:41:35 +00:00
parent c25b742aec
commit bee671476e

View File

@@ -257,7 +257,7 @@ WXLRESULT wxComboBox::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lPara
case CB_SETCURSEL:
// Selection was set with SetSelection. Update the value too.
if (wParam < 0 || wParam > GetCount())
if ((int)wParam > GetCount())
m_value = wxEmptyString;
else
m_value = GetString(wParam);