[wx-dev] VOTE: What's the future of wxT() and _T()?

Robert Roebling robert at roebling.de
Sat Dec 1 04:23:16 PST 2007


Vadim Zeitlin wrote:

> 0. Don't change anything, let wxT() and _T() always generate wide strings.
>  + Nothing to do
>  - Compatibility problems with existing Unicode code (wxCmdLineEntryDesc)
>  - Unnecessary wchar_t->UTF-8 conversions in UTF-8 builds (but removing
>    wxT()s completely is not the answer as they avoid the conversion in
>    wchar_t builds, i.e. wxMSW)

+1

wxT() and _T() have been the same for ages and for me wxT() is
synonmous with wide character. I think all other choices will
make confusion greater.

  Robert






More information about the wx-dev mailing list