From aee12bfb80fb63b82552f59127d5e66b7f056ff2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Fri, 24 Mar 2006 08:22:23 +0000 Subject: [PATCH] Fix after removal of PRIOR/NEXT in common headers (duplicates change in GTK2 sources). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk1/menu.cpp | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/gtk1/menu.cpp b/src/gtk1/menu.cpp index 43de6948da..89b6206f64 100644 --- a/src/gtk1/menu.cpp +++ b/src/gtk1/menu.cpp @@ -1233,12 +1233,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" ); @@ -1355,11 +1353,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" ); -- 2.45.2