]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/defs.h
No events when setting values.
[wxWidgets.git] / include / wx / defs.h
index 80896a98d8d70ca93cd633054c89a6e725062ec5..537a7f5ad9a299477669d473ee97b596f76b3879 100644 (file)
@@ -428,7 +428,7 @@ typedef void (*wxFunction) (wxObject&, wxEvent&);
 #endif
 
 // Printf-like attribute definitions to obtain warnings with GNU C/C++
-#if defined(__GNUC__)
+#if defined(__GNUC__) && !wxUSE_UNICODE
 #  ifndef ATTRIBUTE_PRINTF
 #    define ATTRIBUTE_PRINTF(m, n) __attribute__ ((__format__ (__printf__, m, n)))
 #    define ATTRIBUTE_PRINTF_1 ATTRIBUTE_PRINTF(1, 2)