From d10de62799da01e83bf07994ece8d6fa1d7ab347 Mon Sep 17 00:00:00 2001 From: Chris Elliott Date: Fri, 29 Nov 2002 16:44:55 +0000 Subject: [PATCH] remove false assert git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/motif/menu.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/motif/menu.cpp b/src/motif/menu.cpp index dbb71ac00c..b7e9194893 100644 --- a/src/motif/menu.cpp +++ b/src/motif/menu.cpp @@ -139,10 +139,10 @@ wxMenuItem *wxMenu::DoRemove(wxMenuItem *item) bool wxMenu::DoInsert(size_t pos, wxMenuItem *item) { - if ( !wxMenuBase::DoInsert(pos, item) ) - return FALSE; + if ( wxMenuBase::DoInsert(pos, item) ) + return TRUE; - wxFAIL_MSG(wxT("not implemented")); + wxFAIL_MSG(wxT("DoInsert not implemented; or error in wxMenuBase::DoInsert")); return FALSE; }