From 0bf262cc16f51eb1b91814001d3798f123509c9a Mon Sep 17 00:00:00 2001 From: Maarten ter Huurne Date: Thu, 18 Sep 2008 09:36:02 +0000 Subject: [PATCH] Fixed build for Unicode version of wx. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@576 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DolphinWX/Src/GameListCtrl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/DolphinWX/Src/GameListCtrl.cpp b/Source/Core/DolphinWX/Src/GameListCtrl.cpp index 86d124d6e9..400571c987 100644 --- a/Source/Core/DolphinWX/Src/GameListCtrl.cpp +++ b/Source/Core/DolphinWX/Src/GameListCtrl.cpp @@ -555,7 +555,7 @@ void CGameListCtrl::OnCompressGCM(wxCommandEvent& WXUNUSED (event)) { { path = wxFileSelector( _T("Save decompressed ISO"), - wxEmptyString, FileName.c_str(), wxEmptyString, + wxEmptyString, wxString::FromAscii(FileName.c_str()), wxEmptyString, wxString::Format ( _T("All GC/Wii ISO files (gcm)|*.gcm|All files (%s)|%s"), @@ -574,7 +574,7 @@ void CGameListCtrl::OnCompressGCM(wxCommandEvent& WXUNUSED (event)) { { path = wxFileSelector( _T("Save compressed ISO"), - wxEmptyString, FileName.c_str(), wxEmptyString, + wxEmptyString, wxString::FromAscii(FileName.c_str()), wxEmptyString, wxString::Format ( _T("All compressed GC/Wii ISO files (gcz)|*.gcz|All files (%s)|%s"),