expanded autotranslation of Exit-Quit to items having accelerators

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2002-01-14 14:13:08 +00:00
parent 3d96d41115
commit f1ba2ee8c1
2 changed files with 2 additions and 2 deletions

View File

@@ -192,7 +192,7 @@ wxMenuItem::wxMenuItem(wxMenu *pParentMenu, int id,
m_help = strHelp;
if ( m_text == "E&xit" ||m_text == "Exit" )
if ( m_text == "E&xit" ||m_text == "Exit" ||m_text.Left(5) == "Exit\t" || m_text.Left(6) == "E&xit\t" )
{
m_text = "Quit\tCtrl+Q" ;
}

View File

@@ -192,7 +192,7 @@ wxMenuItem::wxMenuItem(wxMenu *pParentMenu, int id,
m_help = strHelp;
if ( m_text == "E&xit" ||m_text == "Exit" )
if ( m_text == "E&xit" ||m_text == "Exit" ||m_text.Left(5) == "Exit\t" || m_text.Left(6) == "E&xit\t" )
{
m_text = "Quit\tCtrl+Q" ;
}