X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ffd82f1cf8109a4345a3837c54baa071cb0a8d28..e128397f931f7a97316057588c6dfd70b1b9fd97:/include/wx/defs.h diff --git a/include/wx/defs.h b/include/wx/defs.h index 4929dec125..d4c2f50058 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -457,8 +457,12 @@ typedef int wxWindowID; // sometimes the value of a variable is *really* not used, to suppress the // resulting warning you may pass it to this function +#ifdef __BORLANDC__ +#define wxUnusedVar(identifier) identifier +#else template inline void wxUnusedVar(const T& WXUNUSED(t)) { } +#endif // ---------------------------------------------------------------------------- // compiler specific settings