start, // the first radio group item
end, // the last one
pos, // the one to check
- MF_BYPOSITION | flags) )
+ MF_BYPOSITION) )
{
wxLogLastError(_T("CheckMenuRadioItem"));
}
{
if ( ::CheckMenuItem(hmenu,
GetRealId(),
- MF_BYCOMMAND | flags) == -1 )
+ MF_BYCOMMAND | flags) == (DWORD)-1 )
{
wxLogLastError(wxT("CheckMenuItem"));
}