adapt defines for ctrl/command key

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2011-08-16 12:00:52 +00:00
parent 5266f34590
commit 3c5f62640d
6 changed files with 10 additions and 7 deletions

View File

@@ -307,7 +307,7 @@ wxString wxAcceleratorEntry::ToString() const
int flags = GetFlags();
if ( flags & wxACCEL_ALT )
text += _("Alt+");
if ( flags & (wxACCEL_CTRL | wxACCEL_CMD) )
if ( flags & wxACCEL_CTRL )
text += _("Ctrl+");
if ( flags & wxACCEL_SHIFT )
text += _("Shift+");