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:
@@ -192,7 +192,7 @@ wxMenuItem::wxMenuItem(wxMenu *pParentMenu, int id,
|
|||||||
m_help = strHelp;
|
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" ;
|
m_text = "Quit\tCtrl+Q" ;
|
||||||
}
|
}
|
||||||
|
@@ -192,7 +192,7 @@ wxMenuItem::wxMenuItem(wxMenu *pParentMenu, int id,
|
|||||||
m_help = strHelp;
|
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" ;
|
m_text = "Quit\tCtrl+Q" ;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user