diff options
| author | daco65 <daco65@gmail.com> | 2008-11-26 18:20:28 +0000 |
|---|---|---|
| committer | daco65 <daco65@gmail.com> | 2008-11-26 18:20:28 +0000 |
| commit | d2b726da590ccc7bbc00679b6314196eba1881dd (patch) | |
| tree | aa15aca06dbe25f39cae3c6571261be7d5de4577 /Source/Core/DiscIO/Src/VolumeCreator.cpp | |
| parent | b84bf2f273efae868f4faed899c9b81b581e1697 (diff) | |
replaced the ugly wx window with PanicYesNo
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1305 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DiscIO/Src/VolumeCreator.cpp')
| -rw-r--r-- | Source/Core/DiscIO/Src/VolumeCreator.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/Core/DiscIO/Src/VolumeCreator.cpp b/Source/Core/DiscIO/Src/VolumeCreator.cpp index 3591c545d6..319af6b7d9 100644 --- a/Source/Core/DiscIO/Src/VolumeCreator.cpp +++ b/Source/Core/DiscIO/Src/VolumeCreator.cpp @@ -18,7 +18,6 @@ #include <vector>
#include "AES/aes.h"
-#include <wx/wx.h>
#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){
|
