X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f03e9ae7a7590ab779ec833a66f7a46be4c5b4b1..02a525b385836d41f63e3bbebec869c7b8249026:/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?") ); } }