X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4464ec9e903ac684d190a0a232d24ae50171aa1e..dc259b792613550edda31cc6202b42e172e2a240:/src/motif/menu.cpp 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; }