Ignore:
Timestamp:
2017-09-06T01:08:48+02:00 (2 years ago)
Author:
Don-vip
Message:

see #15229 - see #15182 - deprecate GuiHelper.getMenuShortcutKeyMaskEx() - replaced by PlatformHook.getMenuShortcutKeyMaskEx()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/util/GuiHelper.java

    r12644 r12748  
    6666import org.openstreetmap.josm.tools.LanguageInfo;
    6767import org.openstreetmap.josm.tools.Logging;
     68import org.openstreetmap.josm.tools.PlatformHook;
    6869import org.openstreetmap.josm.tools.bugreport.BugReport;
    6970import org.openstreetmap.josm.tools.bugreport.ReportedException;
     
    470471     * @return extended modifier key used as the appropriate accelerator key for menu shortcuts
    471472     * @since 7539
    472      */
     473     * @deprecated to be removed end of 2017. Use {@link PlatformHook#getMenuShortcutKeyMaskEx()} instead
     474     */
     475    @Deprecated
    473476    public static int getMenuShortcutKeyMaskEx() {
    474477        return Main.isPlatformOsx() ? KeyEvent.META_DOWN_MASK : KeyEvent.CTRL_DOWN_MASK;
Note: See TracChangeset for help on using the changeset viewer.