]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/buffer.h
added WX_ASSERT_MESSAGE macro to simply using CPPUNIT_ASSERT_MESSAGE with wxString...
[wxWidgets.git] / include / wx / buffer.h
index bfaba4e58d3679383cd3888b0fb15cb64dc347bb..81a445afe57bbc98a9c03039efdc37075691eeeb 100644 (file)
@@ -228,9 +228,9 @@ typedef wxWritableCharTypeBuffer<wchar_t> wxWritableWCharBuffer;
 
 // type of the value returned by wxString::utf8_str()
 #if wxUSE_UNICODE_UTF8
-    #define wxUTF8Buf wxCharBuffer
-#else
     #define wxUTF8Buf char *
+#else
+    #define wxUTF8Buf wxCharBuffer
 #endif
 
 // ----------------------------------------------------------------------------