X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e422162882bf4c5ae743fd618864e97206765fca..ee4ead93f4d16da50408441842b4ad2d520fc000:/include/wx/defs.h diff --git a/include/wx/defs.h b/include/wx/defs.h index 80896a98d8..537a7f5ad9 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -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)