change SetButtonFont to SetFont (Works the same on windows, SetButtonFont is not available on linux)

fix char* to wxstring in netplay (unicode bugs)
fix changegame in netplay to show the correct name for the chosen game

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4178 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
LPFaint99
2009-09-03 07:51:18 +00:00
parent 573baf733a
commit 8ecfc72963
4 changed files with 6 additions and 6 deletions

View File

@ -414,7 +414,7 @@ void NetPlay::ChangeSelectedGame(std::string game)
m_selectedGame = game;
UpdateNetWindow(false);
m_Logging->AppendText(wxString::Format( wxT(" *Game has been changed to : %s \r\n "), game.c_str()));
m_Logging->AppendText(wxString::Format( wxT(" *Game has been changed to : %s \r\n "), wxString(game.c_str(), wxConvUTF8).c_str()));
NOTICE_LOG(NETPLAY,"Game has been changed to : %s \n",game.c_str());
}
}