From d2b726da590ccc7bbc00679b6314196eba1881dd Mon Sep 17 00:00:00 2001 From: daco65 Date: Wed, 26 Nov 2008 18:20:28 +0000 Subject: [PATCH] replaced the ugly wx window with PanicYesNo git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1305 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DiscIO/DiscIO.vcproj | 2 +- Source/Core/DiscIO/Src/VolumeCreator.cpp | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Source/Core/DiscIO/DiscIO.vcproj b/Source/Core/DiscIO/DiscIO.vcproj index f5cb06512f..9306ed97e3 100644 --- a/Source/Core/DiscIO/DiscIO.vcproj +++ b/Source/Core/DiscIO/DiscIO.vcproj @@ -175,7 +175,7 @@ /> #include "AES/aes.h" -#include #include "VolumeCreator.h" @@ -128,9 +127,8 @@ IVolume* CreateVolumeFromCryptedWiiImage(IBlobReader& _rReader, u32 _VolumeType) FILE* pT = fopen(WII_MASTERKEY_FILE, "rb"); if (pT == NULL) { - if (wxMessageBox(_("Can't open '" WII_MASTERKEY_FILE "'.\n If you know the key, now it's the time to paste it into '" - WII_MASTERKEY_FILE_HEX "' before pressing [YES]."), - wxMessageBoxCaptionStr, wxYES_NO|wxICON_EXCLAMATION) == wxYES) + if(PanicYesNo("Can't open '" WII_MASTERKEY_FILE "'.\n If you know the key, now it's the time to paste it into '" + WII_MASTERKEY_FILE_HEX "' before pressing [YES].")) { pT = fopen(WII_MASTERKEY_FILE_HEX, "r"); if(pT==NULL){