mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
PluginWiimoteNew now needs libwiiuse.
Treat external data (configuration file and device names) as 8-bit data. Character set mapping is not ideal, but at least such names can be used. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5824 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
2a3aa881fd
commit
10e625a11a
2 changed files with 12 additions and 3 deletions
|
@ -18,7 +18,7 @@
|
|||
#include "ConfigDiag.h"
|
||||
|
||||
#define _connect_macro_(b, f, c, s) (b)->Connect(wxID_ANY, (c), wxCommandEventHandler( f ), (wxObject*)0, (wxEvtHandler*)s)
|
||||
#define WXSTR_FROM_STR(s) (wxString::FromAscii((s).c_str()))
|
||||
#define WXSTR_FROM_STR(s) (wxString::From8BitData((s).c_str()))
|
||||
// ToAscii was causing probs with some extended ascii characters, To8BitData seems to work
|
||||
#define STR_FROM_WXSTR(w) (std::string((w).To8BitData()))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue