compilation warning about signed/unsigned comparison fixed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2002-03-27 16:35:04 +00:00
parent 8cf1c88c68
commit 9f385aa0f6

View File

@ -283,7 +283,7 @@ void wxMenuItem::Check(bool check)
{
if ( ::CheckMenuItem(hmenu,
GetRealId(),
MF_BYCOMMAND | flags) == -1 )
MF_BYCOMMAND | flags) == (DWORD)-1 )
{
wxLogLastError(wxT("CheckMenuItem"));
}