]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/defs.h
No events when setting values.
[wxWidgets.git] / include / wx / defs.h
index c5b2045c53ad5bde220dd2db53bec6c3162a7677..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)
@@ -1646,7 +1646,7 @@ enum
     wxMM_ISOTROPIC,
     wxMM_ANISOTROPIC,
     wxMM_POINTS,
-    wxMM_METRIC,
+    wxMM_METRIC
 };
 
 /* Shortcut for easier dialog-unit-to-pixel conversion */