[vlc-devel] Possible Patch -- Use of .mb_str(wxConvUTF8) for wxWidgets
mfmbusiness at earthlink.net
Fri Nov 17 14:36:36 CET 2006
Presently the wxwidgets gui is using temporary variables psz_UTF8, and calls
to wxLocaleFree, to change strings to internal UTF8 format.
wxWidgets has a built-in, which lets you directly call a UTF8-converted
version of the string. Using this removes the need to use wxFromLocale and
wxLocaleFree of psz_UTF8.
Attached is a sample, using modules/gui/wxwidgets/dialogs/open.cpp
I've tried it on extended characters, it appears to work OK.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1677 bytes
Desc: not available
More information about the vlc-devel