]> git.saurik.com Git - wxWidgets.git/commitdiff
Added 'Back' to accelerator possibilities
authorJulian Smart <julian@anthemion.co.uk>
Mon, 8 Dec 2003 16:38:28 +0000 (16:38 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 8 Dec 2003 16:38:28 +0000 (16:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/menucmn.cpp

index 1938ce4ca8cff67f003b593383414c7d0dab4d60..60dfd05bdb3c94cf28cb1f29bd04f6d2999e6fe3 100644 (file)
@@ -166,6 +166,8 @@ wxAcceleratorEntry *wxGetAccelFromString(const wxString& label)
                         keyCode = WXK_DELETE;
                     else if ( current == wxT("DELETE") )
                         keyCode = WXK_DELETE;
+                    else if ( current == wxT("BACK") )
+                        keyCode = WXK_BACK;
                     else if ( current == wxT("INS") )
                         keyCode = WXK_INSERT;
                     else if ( current == wxT("INSERT") )
@@ -288,7 +290,7 @@ void wxMenuBase::Init(long style)
 wxMenuBase::~wxMenuBase()
 {
     WX_CLEAR_LIST(wxMenuItemList, m_items);
-    
+
     // Actually, in GTK, the submenus have to get deleted first.
 }