Update comment describing wxMBConv::cMB2WC() and cWC2MB()

Don't say that these functions return NULL pointers when they don't
return pointers at all any more (and since quite some time).
This commit is contained in:
Vadim Zeitlin 2017-11-02 01:02:17 +01:00
parent 72781e78d8
commit 18063f38ff

View File

@ -71,8 +71,8 @@ public:
const wchar_t *src, size_t srcLen = wxNO_LEN) const; const wchar_t *src, size_t srcLen = wxNO_LEN) const;
// Convenience functions for translating NUL-terminated strings: returns // Convenience functions for translating NUL-terminated strings: return
// the buffer containing the converted string or NULL pointer if the // the buffer containing the converted string or empty buffer if the
// conversion failed. // conversion failed.
const wxWCharBuffer cMB2WC(const char *in) const; const wxWCharBuffer cMB2WC(const char *in) const;
const wxCharBuffer cWC2MB(const wchar_t *in) const; const wxCharBuffer cWC2MB(const wchar_t *in) const;