]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/menuitem.cpp
fix for [ 950550 ] wxChoice - wxEmptyString (wxChoice::FindString doesn't work with...
[wxWidgets.git] / src / msw / menuitem.cpp
index 0c44163a9afab9c3d3854cf022033184a32d7daa..e2063200cda27f53052f5cd679104a2221debc95 100644 (file)
@@ -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?") );
         }
     }