summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoSoftware/Src/VideoConfigDialog.cpp
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2013-02-27 22:37:38 -0600
committerJordan Woyak <jordan.woyak@gmail.com>2013-02-28 02:30:05 -0600
commit56f09d3b91479deb0f3ae3c7ce623c7a4724e087 (patch)
tree164f30e553a82d611608ae677f435d4614abd58d /Source/Plugins/Plugin_VideoSoftware/Src/VideoConfigDialog.cpp
parente82d976d2f2e2f026ecdcdbe978ce7eaeb0da804 (diff)
Attempt to be consistent with conversions between std::string and wxString.
Diffstat (limited to 'Source/Plugins/Plugin_VideoSoftware/Src/VideoConfigDialog.cpp')
-rw-r--r--Source/Plugins/Plugin_VideoSoftware/Src/VideoConfigDialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Plugins/Plugin_VideoSoftware/Src/VideoConfigDialog.cpp b/Source/Plugins/Plugin_VideoSoftware/Src/VideoConfigDialog.cpp
index bd085a3edf..670c3f9c6d 100644
--- a/Source/Plugins/Plugin_VideoSoftware/Src/VideoConfigDialog.cpp
+++ b/Source/Plugins/Plugin_VideoSoftware/Src/VideoConfigDialog.cpp
@@ -34,7 +34,7 @@ IntegerSetting<T>::IntegerSetting(wxWindow* parent, const wxString& label, T& se
VideoConfigDialog::VideoConfigDialog(wxWindow* parent, const std::string& title, const std::string& _ininame) :
wxDialog(parent, -1,
- wxString(wxT("Dolphin ")).append(wxString::FromAscii(title.c_str())).append(wxT(" Graphics Configuration")),
+ wxString(wxT("Dolphin ")).append(StrToWxStr(title.c_str())).append(wxT(" Graphics Configuration")),
wxDefaultPosition, wxDefaultSize),
vconfig(g_SWVideoConfig),
ininame(_ininame)
@@ -64,10 +64,10 @@ VideoConfigDialog::VideoConfigDialog(wxWindow* parent, const std::string& title,
it = g_available_video_backends.begin(),
itend = g_available_video_backends.end();
for (; it != itend; ++it)
- choice_backend->AppendString(wxString::FromAscii((*it)->GetName().c_str()));
+ choice_backend->AppendString(StrToWxStr((*it)->GetName()));
// TODO: How to get the translated plugin name?
- choice_backend->SetStringSelection(wxString::FromAscii(g_video_backend->GetName().c_str()));
+ choice_backend->SetStringSelection(StrToWxStr(g_video_backend->GetName()));
choice_backend->Bind(wxEVT_COMMAND_CHOICE_SELECTED, &VideoConfigDialog::Event_Backend, this);
szr_rendering->Add(label_backend, 1, wxALIGN_CENTER_VERTICAL, 5);