Ignore:
Timestamp:
2009-09-03T09:29:22+02:00 (16 years ago)
Author:
stoecker
Message:

fix #3377 - patch by xeen - removed deprecated calls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/GpxExporter.java

    r2017 r2032  
    112112        p.add(keywords, GBC.eop().fill(GBC.HORIZONTAL));
    113113
    114         int answer = new ExtendedDialog(Main.parent, tr("Export options"), p, new String[] { tr("Export and Save"),
    115             tr("Cancel") }, new String[] { "exportgpx.png", "cancel.png" }).getValue();
    116         if (answer != 1)
     114        ExtendedDialog ed = new ExtendedDialog(Main.parent,
     115                tr("Export options"),
     116                new String[] { tr("Export and Save"), tr("Cancel") });
     117        ed.setButtonIcons(new String[] { "exportgpx.png", "cancel.png" });
     118        ed.setContent(p);
     119        ed.showDialog();
     120
     121        if (ed.getValue() != 1)
    117122            return;
    118123
Note: See TracChangeset for help on using the changeset viewer.