- Timestamp:
- 09/01/11 06:47:45 (13 years ago)
- Location:
- ps/trunk/source/tools/atlas/AtlasUI
- Files:
-
- 2 edited
-
CustomControls/Windows/AtlasWindow.cpp (modified) (2 diffs)
-
ScenarioEditor/ScenarioEditor.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ps/trunk/source/tools/atlas/AtlasUI/CustomControls/Windows/AtlasWindow.cpp
r10095 r10159 217 217 218 218 wxFileDialog dlg (this, _("Select XML file to open"), path, name, _("XML files (*.xml)|*.xml|All files (*.*)|*.*"), wxFD_OPEN); 219 // Set default filter 220 dlg.SetFilterIndex(0); 219 221 220 222 if (dlg.ShowModal() != wxID_OK) … … 264 266 //_T(""), _T(""), 265 267 _("XML files (*.xml)|*.xml|All files (*.*)|*.*"), wxFD_SAVE | wxFD_OVERWRITE_PROMPT); 268 // Set default filter 269 dlg.SetFilterIndex(0); 266 270 267 271 if (dlg.ShowModal() != wxID_OK) -
ps/trunk/source/tools/atlas/AtlasUI/ScenarioEditor/ScenarioEditor.cpp
r10131 r10159 651 651 _T("PMP files (*.pmp)|*.pmp|All files (*.*)|*.*"), 652 652 wxFD_OPEN); 653 // Set default filter 654 dlg.SetFilterIndex(0); 653 655 654 656 wxString cwd = wxFileName::GetCwd(); … … 709 711 _T("PMP files (*.pmp)|*.pmp|All files (*.*)|*.*"), 710 712 wxFD_SAVE | wxFD_OVERWRITE_PROMPT); 713 // Set default filter 714 dlg.SetFilterIndex(0); 711 715 712 716 if (dlg.ShowModal() == wxID_OK)
Note:
See TracChangeset
for help on using the changeset viewer.
