summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2013-03-03 18:40:50 -0600
committerJordan Woyak <jordan.woyak@gmail.com>2013-03-03 18:40:50 -0600
commitbdc96342baa369fc63c013ce385aa780e096ff8f (patch)
tree995493c0decffc67cfaa6970730b778ae47e6005 /Source
parent6026b298449f480ea96285242c4ed9253c854a22 (diff)
More string conversion cleanup.
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/DolphinWX/Src/LogWindow.cpp2
-rw-r--r--Source/Core/DolphinWX/Src/Main.cpp2
-rw-r--r--Source/Core/DolphinWX/Src/VideoConfigDiag.cpp3
3 files changed, 3 insertions, 4 deletions
diff --git a/Source/Core/DolphinWX/Src/LogWindow.cpp b/Source/Core/DolphinWX/Src/LogWindow.cpp
index 57e2ac6b58..27e5856410 100644
--- a/Source/Core/DolphinWX/Src/LogWindow.cpp
+++ b/Source/Core/DolphinWX/Src/LogWindow.cpp
@@ -192,7 +192,7 @@ void CLogWindow::SaveSettings()
void CLogWindow::OnSubmit(wxCommandEvent& WXUNUSED (event))
{
if (!m_cmdline) return;
- Console_Submit(m_cmdline->GetValue().To8BitData());
+ Console_Submit(WxStrToStr(m_cmdline->GetValue()).c_str());
m_cmdline->SetValue(wxEmptyString);
}
diff --git a/Source/Core/DolphinWX/Src/Main.cpp b/Source/Core/DolphinWX/Src/Main.cpp
index 60a8157c28..09387f2764 100644
--- a/Source/Core/DolphinWX/Src/Main.cpp
+++ b/Source/Core/DolphinWX/Src/Main.cpp
@@ -445,7 +445,7 @@ bool wxMsgAlert(const char* caption, const char* text, bool yes_no, int /*Style*
std::string wxStringTranslator(const char *text)
{
- return WxStrToStr(wxGetTranslation(wxString::From8BitData(text)));
+ return WxStrToStr(wxGetTranslation(wxString::FromUTF8(text)));
}
// Accessor for the main window class
diff --git a/Source/Core/DolphinWX/Src/VideoConfigDiag.cpp b/Source/Core/DolphinWX/Src/VideoConfigDiag.cpp
index 154a5bc602..cf44c231fe 100644
--- a/Source/Core/DolphinWX/Src/VideoConfigDiag.cpp
+++ b/Source/Core/DolphinWX/Src/VideoConfigDiag.cpp
@@ -180,8 +180,7 @@ wxArrayString GetListOfResolutions()
VideoConfigDiag::VideoConfigDiag(wxWindow* parent, const std::string &title, const std::string& _ininame)
: wxDialog(parent, -1,
- wxString::Format(_("Dolphin %s Graphics Configuration"),
- wxGetTranslation(wxString::From8BitData(title.c_str()))),
+ wxString::Format(_("Dolphin %s Graphics Configuration"), wxGetTranslation(StrToWxStr(title))),
wxDefaultPosition, wxDefaultSize)
, vconfig(g_Config)
, ininame(_ininame)