]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/menu.cpp
MBCS and IM fixes (patch 1016292)
[wxWidgets.git] / src / gtk / menu.cpp
index 5b29ede17789295999e2ba6e3346dbe316d711a0..83ba105c0095807db4616ea76ddeccc3f08f3a11 100644 (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.