Added 'Back' to accelerator possibilities

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2003-12-08 16:38:28 +00:00
parent ce20d822b0
commit 41efa9a7cb

View 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.
}