Hopefully fix string concatenation on unicode builds.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5960 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
43cbff64b5
commit
7828a689e7
|
@ -562,11 +562,9 @@ void CMemcardManager::CopyDeleteClick(wxCommandEvent& event)
|
||||||
? wxString::FromAscii("")
|
? wxString::FromAscii("")
|
||||||
: wxString::From8BitData(DefaultIOPath.c_str()),
|
: wxString::From8BitData(DefaultIOPath.c_str()),
|
||||||
wxEmptyString, wxEmptyString,
|
wxEmptyString, wxEmptyString,
|
||||||
wxT("Gamecube save files(*.gci,*.gcs,*.sav)"
|
wxT("Native GCI files(*.gci)|*.gci|")
|
||||||
"|*.gci;*.gcs;*.sav|")
|
wxT("MadCatz Gameshark files(*.gcs)|*.gcs|")
|
||||||
wxT("Native GCI files(*.gci)|*.gci|"
|
wxT("Datel MaxDrive/Pro files(*.sav)|*.sav"),
|
||||||
"MadCatz Gameshark files(*.gcs)|*.gcs|"
|
|
||||||
"Datel MaxDrive/Pro files(*.sav)|*.sav"),
|
|
||||||
wxFD_OPEN | wxFD_FILE_MUST_EXIST);
|
wxFD_OPEN | wxFD_FILE_MUST_EXIST);
|
||||||
if (!fileName.empty() && !fileName2.empty())
|
if (!fileName.empty() && !fileName2.empty())
|
||||||
{
|
{
|
||||||
|
@ -598,9 +596,9 @@ void CMemcardManager::CopyDeleteClick(wxCommandEvent& event)
|
||||||
wxT("Export save as.."),
|
wxT("Export save as.."),
|
||||||
wxString::From8BitData(DefaultIOPath.c_str()),
|
wxString::From8BitData(DefaultIOPath.c_str()),
|
||||||
wxString::From8BitData(tempC), wxT(".gci"),
|
wxString::From8BitData(tempC), wxT(".gci"),
|
||||||
wxT("Native GCI files (*.gci)|*.gci|"
|
wxT("Native GCI files(*.gci)|*.gci|")
|
||||||
"MadCatz Gameshark files(*.gcs)|*.gcs|"
|
wxT("MadCatz Gameshark files(*.gcs)|*.gcs|")
|
||||||
"Datel MaxDrive/Pro files(*.sav)|*.sav"),
|
wxT("Datel MaxDrive/Pro files(*.sav)|*.sav"),
|
||||||
wxFD_OVERWRITE_PROMPT|wxFD_SAVE);
|
wxFD_OVERWRITE_PROMPT|wxFD_SAVE);
|
||||||
|
|
||||||
if (fileName.length() > 0)
|
if (fileName.length() > 0)
|
||||||
|
|
Loading…
Reference in New Issue