X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/da0b5338fe14ce3104ae966cffcd5315fee5693a..b77b87881bae2e6306366d79e7fe160334b3d4a2:/src/gtk/menu.cpp diff --git a/src/gtk/menu.cpp b/src/gtk/menu.cpp index f4c539a103..edcbeb0d65 100644 --- a/src/gtk/menu.cpp +++ b/src/gtk/menu.cpp @@ -7,11 +7,14 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "menu.h" -#pragma implementation "menuitem.h" +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) + #pragma implementation "menu.h" + #pragma implementation "menuitem.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/log.h" #include "wx/intl.h" #include "wx/app.h" @@ -1472,9 +1475,11 @@ static wxString GetHotKey( const wxMenuItem& item ) hotkey << wxT("Down" ); break; case WXK_PAGEUP: + case WXK_PRIOR: hotkey << wxT("Prior" ); break; case WXK_PAGEDOWN: + case WXK_NEXT: hotkey << wxT("Next" ); break; case WXK_LEFT: