From 408aef5ec18ec316eca15f63fb56adf054748102 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Tue, 4 Jan 2005 07:03:09 +0000 Subject: [PATCH] as we cannot handle zero commands properly, we have to warn git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/menuitem.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mac/carbon/menuitem.cpp b/src/mac/carbon/menuitem.cpp index fee72b9b91..e1062e4597 100644 --- a/src/mac/carbon/menuitem.cpp +++ b/src/mac/carbon/menuitem.cpp @@ -46,8 +46,7 @@ wxMenuItem::wxMenuItem(wxMenu *pParentMenu, wxMenu *pSubMenu) : wxMenuItemBase(pParentMenu, id, text, strHelp, kind, pSubMenu) { - // TO DISCUSS on dev : whether we can veto id 0 - // wxASSERT_MSG( id != 0 || pSubMenu != NULL , wxT("A MenuItem ID of Zero does not work under Mac") ) ; + wxASSERT_MSG( id != 0 || pSubMenu != NULL , wxT("A MenuItem ID of Zero does not work under Mac") ) ; // In other languages there is no difference in naming the Exit/Quit menu item between MacOS and Windows guidelines // therefore these item must not be translated -- 2.47.2