Please use alerts instead of wxmessage

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1637 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee 2008-12-23 11:36:39 +00:00
parent 0f2f17f0b2
commit 8321656a53

View file

@ -397,12 +397,12 @@ void CFrame::DoOpen(bool Boot)
// Warn the user if he's selecting a completely different game
if(OldID != NewID)
wxMessageBox(wxString::Format(
PanicAlert(
"The new game ID '%s' is not the same as the old game ID '%s'."
" It is not recommended that you change the disc to another game this way."
" It may crash your game. If you want to play another game you"
" have to Stop this game and Start a new game."
, NewID.c_str(), OldID.c_str())
, NewID.c_str(), OldID.c_str()
);
// Save the new ISO file name
@ -509,7 +509,7 @@ void CFrame::OnStop(wxCommandEvent& WXUNUSED (event))
int answer;
if(SConfig::GetInstance().m_LocalCoreStartupParameter.bConfirmStop)
{
answer = wxMessageBox("Are you sure you want to stop the current emulation?",
answer = AskYesNo("Are you sure you want to stop the current emulation?",
"Confirm", wxYES_NO);
}
else
@ -767,4 +767,4 @@ void CFrame::UpdateGUI()
}
}
}
// =============