some more fixes for the switch to unicode. Thanks sl1nk3.s

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3925 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
LPFaint99
2009-08-02 05:59:55 +00:00
parent 7b19632b4a
commit 6cbeeafdf1
10 changed files with 26 additions and 28 deletions

View File

@ -140,7 +140,7 @@ void DSPDebuggerHLE::ReadDir()
if (pieces[3] == "GC")
{
gc_files.push_back(pieces[0]);
m_gc->Append(wxString::FromAscii(cut.c_str()));
m_gc->Append(wxString::FromAscii(cut.c_str()));
}
else
{
@ -295,5 +295,3 @@ void DSPDebuggerHLE::MailSettings(wxCommandEvent& event)
StoreMails = m_gcwiiset->IsChecked(1);
}

View File

@ -345,7 +345,7 @@ void PADConfigDialognJoy::ToBlank(bool ToBlank)
{
for(int i = IDB_ANALOG_MAIN_X; i <= IDB_BUTTONHALFPRESS; i++)
#ifndef _WIN32
if(!strcmp(GetButtonText(i, j).ToAscii(), "-1")) SetButtonText(i, "", j);
if(!strcmp(GetButtonText(i, j).mb_str(), "-1")) SetButtonText(i, "", j);
#else
if(GetButtonText(i, j) == wxT("-1")) SetButtonText(i, "", j);
#endif