X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0c133e13b36a923c65f94499554e432bc3a0daa..411a1c35ff2e9be0bef6e2997f00dded357f2906:/include/wx/validate.h diff --git a/include/wx/validate.h b/include/wx/validate.h index 55005f9d87..3cd0fdc435 100644 --- a/include/wx/validate.h +++ b/include/wx/validate.h @@ -87,7 +87,7 @@ extern WXDLLIMPEXP_DATA_CORE(const wxValidator) wxDefaultValidator; // a wxValidator parameter to avoid using "#if wxUSE_VALIDATORS" // everywhere class WXDLLIMPEXP_FWD_CORE wxValidator; - #define wxDefaultValidator (*(NULL)) + #define wxDefaultValidator (*reinterpret_cast(NULL)) // this macro allows to avoid warnings about unused parameters when // wxUSE_VALIDATORS == 0