X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7c77f33480e32a3a5f142850ac0e9605d0c05381..35bb3cb155917b4287fb2a3841bea22919a3d499:/include/wx/buffer.h diff --git a/include/wx/buffer.h b/include/wx/buffer.h index a18b85c762..bfaba4e58d 100644 --- a/include/wx/buffer.h +++ b/include/wx/buffer.h @@ -226,6 +226,13 @@ typedef wxWritableCharTypeBuffer wxWritableWCharBuffer; #define wxWX2WCbuf wxWCharBuffer #endif // Unicode/ANSI +// type of the value returned by wxString::utf8_str() +#if wxUSE_UNICODE_UTF8 + #define wxUTF8Buf wxCharBuffer +#else + #define wxUTF8Buf char * +#endif + // ---------------------------------------------------------------------------- // A class for holding growable data buffers (not necessarily strings) // ----------------------------------------------------------------------------