From dfd3d01cebdb2fc9e85a6b5857d6f90d4ca26ce9 Mon Sep 17 00:00:00 2001 From: nakeee Date: Fri, 31 Oct 2008 14:05:51 +0000 Subject: [PATCH] semi fix for about box on linux git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1025 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DolphinWX/Src/AboutDolphin.cpp | 4 ++-- Source/Core/DolphinWX/Src/Frame.cpp | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Source/Core/DolphinWX/Src/AboutDolphin.cpp b/Source/Core/DolphinWX/Src/AboutDolphin.cpp index 634e293088..61b29f0c4c 100644 --- a/Source/Core/DolphinWX/Src/AboutDolphin.cpp +++ b/Source/Core/DolphinWX/Src/AboutDolphin.cpp @@ -47,7 +47,7 @@ void AboutDolphin::CreateGUIControls() sbDolphinLogo->SetBitmap(*DolphinLogo); Message = new wxStaticText(this, ID_MESSAGE, - wxString::Format(_T("Dolphin SVN revision %s\nCPU: %s\n\n" // Maybe add OS/arch info too? + wxString::Format(wxT("Dolphin SVN revision %s\nCPU: %s\n\n" // Maybe add OS/arch info too? "Copyright (c) by F|RES, ector, yaz0r 2003-2008\n" "Additional code by Schibo and Costis.\n\n" "Greets to Azimer, Caustik, Costis, Cyrus64, Desktopman, Epsilon, Hotquik, Jazzmin, mamedevs, (Lazer)Maksen, Martin64, or9, Runik, Schibo," @@ -59,7 +59,7 @@ void AboutDolphin::CreateGUIControls() "Thanks to Shinji Chiba for his GC ADPCM decoder.\n\n" "We are not affiliated with Nintendo in any way. Gamecube and Wii are trademarks of Nintendo.\n" "The emulator is for educational purposes only and we do not support using this emulator to play games you do not legally own.\n\n" - "Beta testers: EFX, Falcon4ever and Shadowprince (kx)."), SVN_REV_STR, (wxString)cpu_info.Summarize()), + "Beta testers: EFX, Falcon4ever and Shadowprince (kx)."), SVN_REV_STR, cpu_info.Summarize().c_str()), wxDefaultPosition, wxDefaultSize, 0); Message->Wrap(this->GetSize().GetWidth()); diff --git a/Source/Core/DolphinWX/Src/Frame.cpp b/Source/Core/DolphinWX/Src/Frame.cpp index 209a964e43..db95d887f7 100644 --- a/Source/Core/DolphinWX/Src/Frame.cpp +++ b/Source/Core/DolphinWX/Src/Frame.cpp @@ -389,8 +389,10 @@ void CFrame::OnHelp(wxCommandEvent& event) frame.ShowModal(); win.SetHWND(0); #else - AboutBox frame(NULL); + wxWindow win; + AboutDolphin frame(&win); frame.ShowModal(); + #endif break; }