Merge pull request #5494 from leoetlino/file-selector
WX: Minor file selector fixes
This commit is contained in:
commit
4d0f458f2f
|
@ -340,10 +340,9 @@ void CFrame::DoOpen(bool Boot)
|
|||
|
||||
wxString path = wxFileSelector(
|
||||
_("Select the file to load"), wxEmptyString, wxEmptyString, wxEmptyString,
|
||||
_("All GC/Wii files (elf, dol, gcm, iso, tgc, wbfs, ciso, gcz, wad)") +
|
||||
wxString::Format(
|
||||
"|*.elf;*.dol;*.gcm;*.iso;*.tgc;*.wbfs;*.ciso;*.gcz;*.wad;*.dff;*.tmd|%s",
|
||||
wxGetTranslation(wxALL_FILES)),
|
||||
_("All GC/Wii files (elf, dol, gcm, iso, tgc, wbfs, ciso, gcz, wad, dff)") +
|
||||
wxString::Format("|*.elf;*.dol;*.gcm;*.iso;*.tgc;*.wbfs;*.ciso;*.gcz;*.wad;*.dff|%s",
|
||||
wxGetTranslation(wxALL_FILES)),
|
||||
wxFD_OPEN | wxFD_FILE_MUST_EXIST, this);
|
||||
|
||||
if (path.IsEmpty())
|
||||
|
|
Loading…
Reference in New Issue