]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/chartype.h
distribute only the extra, free, space according to the items proportions in wxBoxSiz...
[wxWidgets.git] / include / wx / chartype.h
index 934e13d1bc2978a76a20dd7df6f09fa64cfea96f..e5ddbf0c9a19590edb1bd33b1ae2b9d93cd35d69 100644 (file)
 /* depending on the platform, Unicode build can either store wxStrings as
    wchar_t* or UTF-8 encoded char*: */
 #if wxUSE_UNICODE
-    /* for now, all Unicode builds are wchar_t* based: */
-    #define wxUSE_UNICODE_WCHAR 1
-    #define wxUSE_UNICODE_UTF8  0
+    #ifndef wxUSE_UNICODE_UTF8
+        #define wxUSE_UNICODE_UTF8 0
+    #endif
+
+    #if wxUSE_UNICODE_UTF8
+        #define wxUSE_UNICODE_WCHAR 0
+    #else
+        #define wxUSE_UNICODE_WCHAR 1
+    #endif
 #else
     #define wxUSE_UNICODE_WCHAR 0
     #define wxUSE_UNICODE_UTF8  0