summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authornakeee <nakeee@gmail.com>2008-12-23 11:36:39 +0000
committernakeee <nakeee@gmail.com>2008-12-23 11:36:39 +0000
commit8321656a5302802d4a9b338fa602d86bfb9edf2b (patch)
treee69bb068f94ec062cabe0949e18638d5e31b1686 /Source/Core
parent0f2f17f0b289721239ae6e43db6497f144c6e54e (diff)
Please use alerts instead of wxmessage
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1637 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinWX/Src/Frame.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/DolphinWX/Src/Frame.cpp b/Source/Core/DolphinWX/Src/Frame.cpp
index 4100e5f0b9..5c6a0cb6e7 100644
--- a/Source/Core/DolphinWX/Src/Frame.cpp
+++ b/Source/Core/DolphinWX/Src/Frame.cpp
@@ -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()
}
}
}
-// ============= \ No newline at end of file
+