X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/be15b995df23c3ca511098676fbdc872f59add80..e7300ec6d9ebbd1cfa2fcf12c0ce6e5aee85a152:/src/msw/menuitem.cpp diff --git a/src/msw/menuitem.cpp b/src/msw/menuitem.cpp index f69a0a01f9..6e450bc973 100644 --- a/src/msw/menuitem.cpp +++ b/src/msw/menuitem.cpp @@ -255,7 +255,7 @@ void wxMenuItem::Check(bool check) start, // the first radio group item end, // the last one pos, // the one to check - MF_BYPOSITION | flags) ) + MF_BYPOSITION) ) { wxLogLastError(_T("CheckMenuRadioItem")); } @@ -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")); }