Correct wxString(const char*, size_t) ctor documentation
The length passed to this constructor is the number of bytes, i.e. char elements of the given string, not "characters" in the usual sense of the word.
This commit is contained in:
parent
22bcdf020e
commit
e371214cfa
@ -386,13 +386,13 @@ public:
|
||||
wxString(const char *psz, const wxMBConv& conv);
|
||||
|
||||
/**
|
||||
Constructs a string from the first @a nLength character of the string literal @a psz using
|
||||
Constructs a string from the first @a nLength bytes of the string literal @a psz using
|
||||
the current locale encoding to convert it to Unicode (wxConvLibc).
|
||||
*/
|
||||
wxString(const char *psz, size_t nLength);
|
||||
|
||||
/**
|
||||
Constructs a string from the first @a nLength character of the string literal @a psz using
|
||||
Constructs a string from the first @a nLength bytes of the string literal @a psz using
|
||||
@a conv to convert it Unicode.
|
||||
*/
|
||||
wxString(const char *psz, const wxMBConv& conv, size_t nLength);
|
||||
|
Loading…
Reference in New Issue
Block a user