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

@ -546,8 +546,8 @@ void GameListPopup::OnButtons(wxCommandEvent& event)
switch (event.GetId())
{
case wxID_OK:
if (m_GameList->GetSelection()-1 != wxNOT_FOUND)
m_netParent->ChangeSelectedGame(std::string(m_GameList_str[m_GameList->GetSelection()-1].mb_str()));
if (m_GameList->GetSelection() != wxNOT_FOUND)
m_netParent->ChangeSelectedGame(std::string(m_GameList_str[m_GameList->GetSelection()].mb_str()));
Destroy();
break;
case wxID_CANCEL: