From b6605213a1577e96c368157a999e797c57d8cf63 Mon Sep 17 00:00:00 2001 From: nakeee Date: Wed, 24 Sep 2008 21:04:34 +0000 Subject: [PATCH] compile with unicode git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@673 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_PadSimple/Src/GUI/ConfigDlg.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Plugins/Plugin_PadSimple/Src/GUI/ConfigDlg.cpp b/Source/Plugins/Plugin_PadSimple/Src/GUI/ConfigDlg.cpp index cd6ab50ffe..f53023af4e 100644 --- a/Source/Plugins/Plugin_PadSimple/Src/GUI/ConfigDlg.cpp +++ b/Source/Plugins/Plugin_PadSimple/Src/GUI/ConfigDlg.cpp @@ -67,10 +67,10 @@ inline void AddControl(wxPanel *pan, wxButton **button, wxStaticBoxSizer *sizer, const char *name, int ctl) { wxBoxSizer *hButton = new wxBoxSizer(wxHORIZONTAL); - hButton->Add(new wxStaticText(pan, 0, wxT(name), wxDefaultPosition, wxDefaultSize), 0, + hButton->Add(new wxStaticText(pan, 0, wxString::FromAscii(name), wxDefaultPosition, wxDefaultSize), 0, wxALIGN_CENTER_VERTICAL|wxALL); - *button = new wxButton(pan, ctl, wxT(""), wxDefaultPosition, wxDefaultSize, wxBU_LEFT); + *button = new wxButton(pan, ctl, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxBU_LEFT); hButton->Add(*button, 0, wxEXPAND|wxALL);