]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/menuitem.cpp
some wxArtProv docs
[wxWidgets.git] / src / msw / menuitem.cpp
index f69a0a01f9fd07c4bb1bd77c76d81166754bd678..6e450bc97391806cd45b682bc7703ce827cb39f1 100644 (file)
@@ -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"));
         }