summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp
diff options
context:
space:
mode:
authorshuffle2 <godisgovernment@gmail.com>2014-05-21 21:54:00 -0700
committershuffle2 <godisgovernment@gmail.com>2014-05-21 21:54:00 -0700
commitc3086577798c81cacb39133a666fafd1f52160ce (patch)
treecd80c68ebef6ab7ea8db0a66bfd13504df82108c /Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp
parent7a7aa8c5a3909727ad3bd1b3d5300b0c6ad47e46 (diff)
parent554207a87c2e47f61d584c55ca01be3a0424606f (diff)
Merge pull request #376 from lioncash/wx
Wx cleanup
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp')
-rw-r--r--Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp b/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp
index 698265613d..1236dd84fe 100644
--- a/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp
+++ b/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp
@@ -152,7 +152,7 @@ void CCodeWindow::CreateMenuSymbols(wxMenuBar *pMenuBar)
pSymbolsMenu->Append(IDM_SAVEMAPFILE, _("&Save symbol map"));
pSymbolsMenu->AppendSeparator();
pSymbolsMenu->Append(IDM_SAVEMAPFILEWITHCODES, _("Save code"),
- StrToWxStr("Save the entire disassembled code. This may take a several seconds"
+ _("Save the entire disassembled code. This may take a several seconds"
" and may require between 50 and 100 MB of hard drive space. It will only save code"
" that are in the first 4 MB of memory, if you are debugging a game that load .rel"
" files with code to memory you may want to increase that to perhaps 8 MB, you can do"
@@ -198,10 +198,10 @@ void CCodeWindow::OnProfilerMenu(wxCommandEvent& event)
Profiler::WriteProfileResults(filename);
wxFileType* filetype = nullptr;
- if (!(filetype = wxTheMimeTypesManager->GetFileTypeFromExtension(_T("txt"))))
+ if (!(filetype = wxTheMimeTypesManager->GetFileTypeFromExtension("txt")))
{
// From extension failed, trying with MIME type now
- if (!(filetype = wxTheMimeTypesManager->GetFileTypeFromMimeType(_T("text/plain"))))
+ if (!(filetype = wxTheMimeTypesManager->GetFileTypeFromMimeType("text/plain")))
// MIME type failed, aborting mission
break;
}
@@ -227,7 +227,7 @@ void CCodeWindow::OnSymbolsMenu(wxCommandEvent& event)
switch (event.GetId())
{
case IDM_CLEARSYMBOLS:
- if (!AskYesNo("Do you want to clear the list of symbol names?")) return;
+ if (!AskYesNoT("Do you want to clear the list of symbol names?")) return;
g_symbolDB.Clear();
Host_NotifyMapLoaded();
break;
@@ -279,7 +279,7 @@ void CCodeWindow::OnSymbolsMenu(wxCommandEvent& event)
const wxString path = wxFileSelector(
_("Apply signature file"), wxEmptyString,
wxEmptyString, wxEmptyString,
- _T("Dolphin Symbol Rename File (*.sym)|*.sym"),
+ "Dolphin Symbol Rename File (*.sym)|*.sym",
wxFD_OPEN | wxFD_FILE_MUST_EXIST, this);
if (!path.IsEmpty())
@@ -313,7 +313,7 @@ void CCodeWindow::OnSymbolsMenu(wxCommandEvent& event)
{
wxTextEntryDialog input_prefix(
this,
- StrToWxStr("Only export symbols with prefix:\n(Blank for all symbols)"),
+ _("Only export symbols with prefix:\n(Blank for all symbols)"),
wxGetTextFromUserPromptStr,
wxEmptyString);
@@ -322,8 +322,8 @@ void CCodeWindow::OnSymbolsMenu(wxCommandEvent& event)
std::string prefix(WxStrToStr(input_prefix.GetValue()));
wxString path = wxFileSelector(
- _T("Save signature as"), wxEmptyString, wxEmptyString, wxEmptyString,
- _T("Dolphin Signature File (*.dsy)|*.dsy;"), wxFD_SAVE,
+ _("Save signature as"), wxEmptyString, wxEmptyString, wxEmptyString,
+ "Dolphin Signature File (*.dsy)|*.dsy;", wxFD_SAVE,
this);
if (!path.IsEmpty())
{
@@ -337,8 +337,8 @@ void CCodeWindow::OnSymbolsMenu(wxCommandEvent& event)
case IDM_USESIGNATUREFILE:
{
wxString path = wxFileSelector(
- _T("Apply signature file"), wxEmptyString, wxEmptyString, wxEmptyString,
- _T("Dolphin Signature File (*.dsy)|*.dsy;"), wxFD_OPEN | wxFD_FILE_MUST_EXIST,
+ _("Apply signature file"), wxEmptyString, wxEmptyString, wxEmptyString,
+ "Dolphin Signature File (*.dsy)|*.dsy;", wxFD_OPEN | wxFD_FILE_MUST_EXIST,
this);
if (!path.IsEmpty())
{