- Timestamp:
- 08/26/11 03:56:14 (13 years ago)
- Location:
- ps/trunk/source/tools/atlas/AtlasUI
- Files:
-
- 6 edited
-
ActorEditor/ActorEditor.cpp (modified) (3 diffs)
-
CustomControls/EditableListCtrl/QuickFileCtrl.cpp (modified) (2 diffs)
-
CustomControls/Windows/AtlasWindow.cpp (modified) (2 diffs)
-
General/VideoRecorder/VideoRecorder.cpp (modified) (2 diffs)
-
ScenarioEditor/ScenarioEditor.cpp (modified) (2 diffs)
-
ScenarioEditor/Tools/PlaceObject.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ps/trunk/source/tools/atlas/AtlasUI/ActorEditor/ActorEditor.cpp
r6910 r10095 1 /* Copyright (C) 20 09Wildfire Games.1 /* Copyright (C) 2011 Wildfire Games. 2 2 * This file is part of 0 A.D. 3 3 * … … 385 385 wxString parentEntityFilename 386 386 (wxFileSelector(_("Choose a parent entity"), entityPath.GetPath(), _T(""), 387 _T("xml"), _("XML files (*.xml)|*.xml|All files (*.*)|*.*"), wx OPEN, this));387 _T("xml"), _("XML files (*.xml)|*.xml|All files (*.*)|*.*"), wxFD_OPEN, this)); 388 388 389 389 if (! parentEntityFilename.Length()) … … 395 395 wxString outputEntityFilename 396 396 (wxFileSelector(_("Choose a filename to save as"), entityPath.GetPath(), entityName, 397 _T("xml"), _("XML files (*.xml)|*.xml|All files (*.*)|*.*"), wx SAVE|wxOVERWRITE_PROMPT, this));397 _T("xml"), _("XML files (*.xml)|*.xml|All files (*.*)|*.*"), wxFD_SAVE|wxFD_OVERWRITE_PROMPT, this)); 398 398 399 399 if (! outputEntityFilename.Length()) -
ps/trunk/source/tools/atlas/AtlasUI/CustomControls/EditableListCtrl/QuickFileCtrl.cpp
r6910 r10095 1 /* Copyright (C) 20 09Wildfire Games.1 /* Copyright (C) 2011 Wildfire Games. 2 2 * This file is part of 0 A.D. 3 3 * … … 139 139 } 140 140 141 wxFileDialog dlg(this, _("Choose a file"), defaultDir, defaultFile, m_FileMask, wx OPEN);141 wxFileDialog dlg(this, _("Choose a file"), defaultDir, defaultFile, m_FileMask, wxFD_OPEN); 142 142 143 143 parent->m_DisableKillFocus = true; -
ps/trunk/source/tools/atlas/AtlasUI/CustomControls/Windows/AtlasWindow.cpp
r9911 r10095 216 216 } 217 217 218 wxFileDialog dlg (this, _("Select XML file to open"), path, name, _("XML files (*.xml)|*.xml|All files (*.*)|*.*"), wx OPEN);218 wxFileDialog dlg (this, _("Select XML file to open"), path, name, _("XML files (*.xml)|*.xml|All files (*.*)|*.*"), wxFD_OPEN); 219 219 220 220 if (dlg.ShowModal() != wxID_OK) … … 263 263 GetCurrentFilename().GetPath(), GetCurrentFilename().GetFullName(), 264 264 //_T(""), _T(""), 265 _("XML files (*.xml)|*.xml|All files (*.*)|*.*"), wx SAVE | wxOVERWRITE_PROMPT);265 _("XML files (*.xml)|*.xml|All files (*.*)|*.*"), wxFD_SAVE | wxFD_OVERWRITE_PROMPT); 266 266 267 267 if (dlg.ShowModal() != wxID_OK) -
ps/trunk/source/tools/atlas/AtlasUI/General/VideoRecorder/VideoRecorder.cpp
r10037 r10095 1 /* Copyright (C) 20 09Wildfire Games.1 /* Copyright (C) 2011 Wildfire Games. 2 2 * This file is part of 0 A.D. 3 3 * … … 160 160 wxCHECK(filenameWin, ); 161 161 162 wxFileDialog dlg (this, wxFileSelectorPromptStr, filenameWin->GetValue(), filenameWin->GetValue(), _("MP4 files (*.mp4)|*.mp4"), wx SAVE);162 wxFileDialog dlg (this, wxFileSelectorPromptStr, filenameWin->GetValue(), filenameWin->GetValue(), _("MP4 files (*.mp4)|*.mp4"), wxFD_SAVE); 163 163 if (dlg.ShowModal() != wxID_OK) 164 164 return; -
ps/trunk/source/tools/atlas/AtlasUI/ScenarioEditor/ScenarioEditor.cpp
r10064 r10095 638 638 Datafile::GetDataDirectory() + _T("/mods/public/maps/scenarios"), m_OpenFilename, 639 639 _T("PMP files (*.pmp)|*.pmp|All files (*.*)|*.*"), 640 wx OPEN);640 wxFD_OPEN); 641 641 642 642 wxString cwd = wxFileName::GetCwd(); … … 696 696 Datafile::GetDataDirectory() + _T("/mods/public/maps/scenarios"), m_OpenFilename, 697 697 _T("PMP files (*.pmp)|*.pmp|All files (*.*)|*.*"), 698 wx SAVE | wxOVERWRITE_PROMPT);698 wxFD_SAVE | wxFD_OVERWRITE_PROMPT); 699 699 700 700 if (dlg.ShowModal() == wxID_OK) -
ps/trunk/source/tools/atlas/AtlasUI/ScenarioEditor/Tools/PlaceObject.cpp
r10037 r10095 1 /* Copyright (C) 20 09Wildfire Games.1 /* Copyright (C) 2011 Wildfire Games. 2 2 * This file is part of 0 A.D. 3 3 * … … 116 116 { 117 117 int dir = 0; 118 if (wxGetKeyState(WXK_ NEXT)) ++dir; // page-down key119 if (wxGetKeyState(WXK_P RIOR)) --dir; // page-up key118 if (wxGetKeyState(WXK_PAGEDOWN)) ++dir; // page-down key 119 if (wxGetKeyState(WXK_PAGEUP)) --dir; // page-up key 120 120 if (dir) 121 121 {
Note:
See TracChangeset
for help on using the changeset viewer.
