mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
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:
@ -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:
|
||||
|
Reference in New Issue
Block a user