Commit fe33d793 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix conversion from locale to wxWidgets' Unicode

(the documentation for wxWidgets 2.5.3 is wrong :
 wxConvCurrent (which does not work) does not point
 to wxConvLibc nor wxConvLocal (which both work))

It is now possible to use wxvlc with non UTF-8 locale.
Previously, any text item with non-ASCII character in it would be
blank.
parent 1fa17793
......@@ -67,7 +67,7 @@ DECLARE_LOCAL_EVENT_TYPE( wxEVT_INTF, 1 );
#else // ENABLE_NLS && ENABLE_UTF8
#if wxUSE_UNICODE
# define wxU(ansi) wxString(ansi, *wxConvCurrent)
# define wxU(ansi) wxString(ansi, wxConvLocal)
#else
# define wxU(ansi) ansi
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment