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