fixed handling of accelerators using PageUp/Down keys (bug 1683613)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2007-03-19 20:18:20 +00:00
parent d536aafb14
commit f005ea42f0
3 changed files with 12 additions and 8 deletions

View File

@ -119,6 +119,10 @@ wxMSW:
- Fixed wxFileName::GetSize() for large files
wxGTK:
- Fixed handling of accelerators using PageUp/Down keys
2.8.2
-----

View File

@ -1362,10 +1362,10 @@ static wxString GetGtkHotKey( const wxMenuItem& item )
hotkey << wxT("Down" );
break;
case WXK_PAGEUP:
hotkey << wxT("PgUp" );
hotkey << wxT("Page_Up" );
break;
case WXK_PAGEDOWN:
hotkey << wxT("PgDn" );
hotkey << wxT("Page_Down" );
break;
case WXK_LEFT:
hotkey << wxT("Left" );
@ -1483,10 +1483,10 @@ static wxString GetGtkHotKey( const wxMenuItem& item )
hotkey << wxT("KP_Down" );
break;
case WXK_NUMPAD_PAGEUP:
hotkey << wxT("KP_PgUp" );
hotkey << wxT("KP_Page_Up" );
break;
case WXK_NUMPAD_PAGEDOWN:
hotkey << wxT("KP_PgDn" );
hotkey << wxT("KP_Page_Down" );
break;
case WXK_NUMPAD_END:
hotkey << wxT("KP_End" );

View File

@ -1244,10 +1244,10 @@ static wxString GetGtkHotKey( const wxMenuItem& item )
hotkey << wxT("Down" );
break;
case WXK_PAGEUP:
hotkey << wxT("PgUp" );
hotkey << wxT("Page_Up" );
break;
case WXK_PAGEDOWN:
hotkey << wxT("PgDn" );
hotkey << wxT("Page_Down" );
break;
case WXK_LEFT:
hotkey << wxT("Left" );
@ -1365,10 +1365,10 @@ static wxString GetGtkHotKey( const wxMenuItem& item )
hotkey << wxT("KP_Down" );
break;
case WXK_NUMPAD_PAGEUP:
hotkey << wxT("KP_PgUp" );
hotkey << wxT("KP_Page_Up" );
break;
case WXK_NUMPAD_PAGEDOWN:
hotkey << wxT("KP_PgDn" );
hotkey << wxT("KP_Page_Down" );
break;
case WXK_NUMPAD_END:
hotkey << wxT("KP_End" );