]> git.saurik.com Git - wxWidgets.git/commitdiff
Use '+' in accelerators, not '-'.
authorVáclav Slavík <vslavik@fastmail.fm>
Tue, 27 Apr 2010 09:38:17 +0000 (09:38 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Tue, 27 Apr 2010 09:38:17 +0000 (09:38 +0000)
This was always GTK+ standard and even Windows uses it now, see the
UX Guide.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/accelcmn.cpp

index ee99542df250842798f9310aa0c3d4d179b2d489..20c07edf322ce3dc6ef2a709e2a1154395f7a0ab 100644 (file)
@@ -291,11 +291,11 @@ wxString wxAcceleratorEntry::ToString() const
 
     int flags = GetFlags();
     if ( flags & wxACCEL_ALT )
-        text += _("Alt-");
+        text += _("Alt+");
     if ( flags & wxACCEL_CTRL )
-        text += _("Ctrl-");
+        text += _("Ctrl+");
     if ( flags & wxACCEL_SHIFT )
-        text += _("Shift-");
+        text += _("Shift+");
 
     const int code = GetKeyCode();