Copying the contents of a wxString
Vadim Zeitlin
vadim at wxwindows.org
Fri Sep 8 05:53:32 PDT 2006
On 8 Sep 2006 05:44:11 -0700 Michiel.Salters at tomtom.com wrote:
> However, it's more portable to use * sizeof(wxString[0]).
This won't work, wxString[0] is not a constant expression nor, in fact, a
valid expression at all. Use sizeof(wxString::value_type) or just
sizeof(wxChar) instead.
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
More information about the wx-users
mailing list