X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f03e9ae7a7590ab779ec833a66f7a46be4c5b4b1..c50a4038e3c3a13e3d493c432017d371d4916ce6:/src/msw/menuitem.cpp

diff --git a/src/msw/menuitem.cpp b/src/msw/menuitem.cpp
index 0c44163a9a..e2063200cd 100644
--- a/src/msw/menuitem.cpp
+++ b/src/msw/menuitem.cpp
@@ -330,7 +330,7 @@ void wxMenuItem::Check(bool check)
                              GetRealId(),
                              MF_BYCOMMAND | flags) == (DWORD)-1 )
         {
-            wxASSERT_MSG( _T("CheckMenuItem() failed, item not in the menu?") );
+            wxFAIL_MSG( _T("CheckMenuItem() failed, item not in the menu?") );
         }
     }