Allow translated 'Space' in menu accelerators (perhaps more entries should allow it).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Name: common/menucmn.cpp
|
||||
// Name: src/common/menucmn.cpp
|
||||
// Purpose: wxMenu and wxMenuBar methods common to all ports
|
||||
// Author: Vadim Zeitlin
|
||||
// Modified by:
|
||||
@@ -189,7 +189,7 @@ wxAcceleratorEntry *wxGetAccelFromString(const wxString& label)
|
||||
keyCode = WXK_HOME;
|
||||
else if ( current == wxT("END") )
|
||||
keyCode = WXK_END;
|
||||
else if ( current == wxT("SPACE") )
|
||||
else if ( current == wxT("SPACE") || current == _("SPACE") )
|
||||
keyCode = WXK_SPACE;
|
||||
else if ( current == wxT("TAB") )
|
||||
keyCode = WXK_TAB;
|
||||
|
Reference in New Issue
Block a user