]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/strvararg.h
Make the main message of wxGenericMessageDialog stand out.
[wxWidgets.git] / include / wx / strvararg.h
index db91346e675b0f576c30fb691e9185b5413ecb49..7dc661217176289ecd1f85948903f076d8bdaf80 100644 (file)
@@ -318,7 +318,11 @@ struct wxFormatStringArgumentFinder<wxWCharBuffer>
                           "format specifier doesn't match argument type" ); \
         } while ( wxFalse )
 #else
                           "format specifier doesn't match argument type" ); \
         } while ( wxFalse )
 #else
-    #define wxASSERT_ARG_TYPE(fmt, index, expected_mask)
+    // Just define it to suppress "unused parameter" warnings for the
+    // parameters which we don't use otherwise
+    #define wxASSERT_ARG_TYPE(fmt, index, expected_mask)                      \
+        wxUnusedVar(fmt);                                                     \
+        wxUnusedVar(index)
 #endif // wxDEBUG_LEVEL/!wxDEBUG_LEVEL
 
 
 #endif // wxDEBUG_LEVEL/!wxDEBUG_LEVEL