X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..67193066b2d16ca36529216f70d093690d7e1123:/src/mac/classic/uma.cpp?ds=sidebyside diff --git a/src/mac/classic/uma.cpp b/src/mac/classic/uma.cpp index e65e527fda..5f586ad85c 100644 --- a/src/mac/classic/uma.cpp +++ b/src/mac/classic/uma.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: uma.cpp +// Name: src/mac/classic/uma.cpp // Purpose: UMA support // Author: Stefan Csomor // Modified by: @@ -9,7 +9,11 @@ // Licence: The wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#include "wx/defs.h" +#include "wx/wxprec.h" + +#ifdef __BORLANDC__ + #pragma hdrstop +#endif #if wxUSE_GUI @@ -363,11 +367,11 @@ void UMASetMenuItemShortcut( MenuRef menu , MenuItemIndex item , wxAcceleratorEn macKey = kClearCharCode ; glyph = kMenuClearGlyph ; break ; - case WXK_PRIOR : // PAGE UP + case WXK_PAGEUP : macKey = kPageUpCharCode ; glyph = kMenuPageUpGlyph ; break ; - case WXK_NEXT : + case WXK_PAGEDOWN : macKey = kPageDownCharCode ; glyph = kMenuPageDownGlyph ; break ;