462 |
|
|
463 |
def AddLayer(self): |
def AddLayer(self): |
464 |
dlg = wxFileDialog(self, _("Select one or more data files"), ".", "", |
dlg = wxFileDialog(self, _("Select one or more data files"), ".", "", |
465 |
_("Shapefiles (*.shp)") + "|*.shp|" + |
_("Shapefiles (*.shp)") + "|*.shp;*.SHP|" + |
466 |
_("All Files (*.*)") + "|*.*", |
_("All Files (*.*)") + "|*.*", |
467 |
wxOPEN | wxMULTIPLE) |
wxOPEN | wxMULTIPLE) |
468 |
if dlg.ShowModal() == wxID_OK: |
if dlg.ShowModal() == wxID_OK: |
469 |
filenames = dlg.GetPaths() |
filenames = dlg.GetPaths() |