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

@ -296,8 +296,8 @@ bool ServerSide::SyncValues(unsigned char socketnb, sf::IPAddress Address)
m_client[i].socket.Send(m_client[socketnb].nick.c_str(), buffer_size + 1);
}
}
Event->AppendText( wxString::Format(wxT("*Connection established to %s (%s:%d)\n"),
m_client[socketnb].nick.c_str(), Address.ToString().c_str(), m_client[m_numplayers].port));
Event->AppendText( wxString::FromAscii(StringFromFormat("*Connection established to %s (%s:%d)\n",
m_client[socketnb].nick.c_str(), Address.ToString().c_str(), m_client[m_numplayers].port).c_str()));
if (init_number != 0x1F) // Not Found
//for (int i = 0; i < 4; i++)