X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/11fead7c4651091aa20c3a8c2dd4d25586460108..ce4b7808ca940be201422a066de141ca12f13863:/include/wx/buffer.h diff --git a/include/wx/buffer.h b/include/wx/buffer.h index fa8f3215c5..f17aa0c1ab 100644 --- a/include/wx/buffer.h +++ b/include/wx/buffer.h @@ -122,11 +122,15 @@ DEFINE_BUFFER(wxWCharBuffer, wchar_t, wxStrdupW); #undef DEFINE_BUFFER #if wxUSE_UNICODE + typedef wxWCharBuffer wxWxCharBuffer; + #define wxMB2WXbuf wxWCharBuffer #define wxWX2MBbuf wxCharBuffer #define wxWC2WXbuf wxChar* #define wxWX2WCbuf wxChar* #else // ANSI + typedef wxCharBuffer wxWxCharBuffer; + #define wxMB2WXbuf wxChar* #define wxWX2MBbuf wxChar* #define wxWC2WXbuf wxCharBuffer