fix for hot keys in menu items (patch 1013082)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2004-08-20 20:31:37 +00:00
parent afd23c224a
commit 04cc1e93ed
2 changed files with 2 additions and 2 deletions

View File

@ -1375,7 +1375,7 @@ static wxString GetHotKey( const wxMenuItem& item )
case WXK_F10:
case WXK_F11:
case WXK_F12:
hotkey << wxT('F') << code - WXK_F1 + 1;
hotkey += wxString::Format(wxT("F%d"), code - WXK_F1 + 1);
break;
// TODO: we should use gdk_keyval_name() (a.k.a.

View File

@ -1375,7 +1375,7 @@ static wxString GetHotKey( const wxMenuItem& item )
case WXK_F10:
case WXK_F11:
case WXK_F12:
hotkey << wxT('F') << code - WXK_F1 + 1;
hotkey += wxString::Format(wxT("F%d"), code - WXK_F1 + 1);
break;
// TODO: we should use gdk_keyval_name() (a.k.a.