]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/buffer.h
build fixes
[wxWidgets.git] / include / wx / buffer.h
index a18b85c7626ebe4c39b3deab96db8d6e7ffd8b30..bfaba4e58d3679383cd3888b0fb15cb64dc347bb 100644 (file)
@@ -226,6 +226,13 @@ typedef wxWritableCharTypeBuffer<wchar_t> 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)
 // ----------------------------------------------------------------------------