[1231183] 'cleanup: mismatched indentation' and other cleanings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -289,14 +289,14 @@ wxAcceleratorEntry *wxGetAccelFromString(const wxString& label)
|
||||
keyCode = WXK_WINDOWS_LEFT;
|
||||
else if ( current == wxT("WINDOWS_RIGHT") )
|
||||
keyCode = WXK_WINDOWS_RIGHT;
|
||||
else if ( current == wxT("WINDOWS_MENU") )
|
||||
else if ( current == wxT("WINDOWS_MENU") )
|
||||
keyCode = WXK_WINDOWS_MENU;
|
||||
else if ( current == wxT("COMMAND") )
|
||||
keyCode = WXK_COMMAND;
|
||||
else if ( current.Left(3) == wxT("KP_") && wxIsdigit(current[3U]) ) {
|
||||
keyCode = WXK_NUMPAD0 + wxAtoi(current.c_str() + 3); }
|
||||
else if ( current.Left(7) == wxT("SPECIAL") && wxIsdigit(current[7U]) ) {
|
||||
keyCode = WXK_SPECIAL1 + wxAtoi(current.c_str() + 7) - 1; }
|
||||
else if ( current.Left(3) == wxT("KP_") && wxIsdigit(current[3U]) )
|
||||
keyCode = WXK_NUMPAD0 + wxAtoi(current.c_str() + 3);
|
||||
else if ( current.Left(7) == wxT("SPECIAL") && wxIsdigit(current[7U]) )
|
||||
keyCode = WXK_SPECIAL1 + wxAtoi(current.c_str() + 7) - 1;
|
||||
else
|
||||
{
|
||||
wxLogDebug(wxT("Unrecognized accel key '%s', accel string ignored."),
|
||||
|
Reference in New Issue
Block a user