]> git.saurik.com Git - wxWidgets.git/commitdiff
test for wxUSE_UNICODE_UTF8 in wxUTF8Buf definition was reversed, correct it
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 1 Dec 2007 15:14:39 +0000 (15:14 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 1 Dec 2007 15:14:39 +0000 (15:14 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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
 
 // ----------------------------------------------------------------------------