reminder added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -46,6 +46,9 @@ wxMenuItem::wxMenuItem(wxMenu *pParentMenu,
|
|||||||
wxMenu *pSubMenu)
|
wxMenu *pSubMenu)
|
||||||
: wxMenuItemBase(pParentMenu, id, text, strHelp, kind, 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") ) ;
|
||||||
|
|
||||||
// In other languages there is no difference in naming the Exit/Quit menu item between MacOS and Windows guidelines
|
// 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
|
// therefore these item must not be translated
|
||||||
if ( wxStripMenuCodes(m_text).Upper() == wxT("EXIT") )
|
if ( wxStripMenuCodes(m_text).Upper() == wxT("EXIT") )
|
||||||
|
@@ -46,6 +46,9 @@ wxMenuItem::wxMenuItem(wxMenu *pParentMenu,
|
|||||||
wxMenu *pSubMenu)
|
wxMenu *pSubMenu)
|
||||||
: wxMenuItemBase(pParentMenu, id, text, strHelp, kind, 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") ) ;
|
||||||
|
|
||||||
// In other languages there is no difference in naming the Exit/Quit menu item between MacOS and Windows guidelines
|
// 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
|
// therefore these item must not be translated
|
||||||
if ( wxStripMenuCodes(m_text).Upper() == wxT("EXIT") )
|
if ( wxStripMenuCodes(m_text).Upper() == wxT("EXIT") )
|
||||||
|
Reference in New Issue
Block a user