]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/menuitem.cpp
removed C++ comments from C files
[wxWidgets.git] / src / msw / menuitem.cpp
index 8b9127fe3f994bdf6680902d901c98e0fae02d25..e2063200cda27f53052f5cd679104a2221debc95 100644 (file)
@@ -330,7 +330,7 @@ void wxMenuItem::Check(bool check)
                              GetRealId(),
                              MF_BYCOMMAND | flags) == (DWORD)-1 )
         {
-            wxLogLastError(wxT("CheckMenuItem"));
+            wxFAIL_MSG( _T("CheckMenuItem() failed, item not in the menu?") );
         }
     }