Make WXK*PRIOR and WXK*NEXT be aliases for WXK*PAGEUP and WXK*PAGEDOWN

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-03-24 04:14:29 +00:00
parent 50f151d726
commit 5bd24f7242
7 changed files with 22 additions and 28 deletions

View File

@@ -1196,12 +1196,10 @@ static wxString GetGtkHotKey( const wxMenuItem& item )
hotkey << wxT("Down" );
break;
case WXK_PAGEUP:
case WXK_PRIOR:
hotkey << wxT("Prior" );
hotkey << wxT("PgUp" );
break;
case WXK_PAGEDOWN:
case WXK_NEXT:
hotkey << wxT("Next" );
hotkey << wxT("PgDn" );
break;
case WXK_LEFT:
hotkey << wxT("Left" );
@@ -1318,11 +1316,11 @@ static wxString GetGtkHotKey( const wxMenuItem& item )
case WXK_NUMPAD_DOWN:
hotkey << wxT("KP_Down" );
break;
case WXK_NUMPAD_PRIOR: case WXK_NUMPAD_PAGEUP:
hotkey << wxT("KP_Prior" );
case WXK_NUMPAD_PAGEUP:
hotkey << wxT("KP_PgUp" );
break;
case WXK_NUMPAD_NEXT: case WXK_NUMPAD_PAGEDOWN:
hotkey << wxT("KP_Next" );
case WXK_NUMPAD_PAGEDOWN:
hotkey << wxT("KP_PgDn" );
break;
case WXK_NUMPAD_END:
hotkey << wxT("KP_End" );