compile with unicode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@673 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
08e81eddb9
commit
b6605213a1
|
@ -67,10 +67,10 @@ inline void AddControl(wxPanel *pan, wxButton **button, wxStaticBoxSizer *sizer,
|
||||||
const char *name, int ctl) {
|
const char *name, int ctl) {
|
||||||
wxBoxSizer *hButton = new wxBoxSizer(wxHORIZONTAL);
|
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);
|
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);
|
hButton->Add(*button, 0, wxEXPAND|wxALL);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue