X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..b4446c244775324631b8dd2b588ea35f32e71728:/src/mac/classic/uma.cpp 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 ;