X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34138703c3997ce676a1e713d9ff9eb020640da7..f5419957e5794f2d10f4e125f77b2c2e2cd222d6:/include/wx/validate.h diff --git a/include/wx/validate.h b/include/wx/validate.h index deb5d79856..a67d9cba9b 100644 --- a/include/wx/validate.h +++ b/include/wx/validate.h @@ -43,7 +43,7 @@ public: // if you're passing a reference to a validator. // Another possibility is to always pass a pointer to a new validator // (so the calling code can use a copy constructor of the relevant class). - virtual wxValidator *Clone(void) const { return NULL; } + virtual wxValidator *Clone(void) const { return (wxValidator *) NULL; } inline bool Copy(const wxValidator& val) { m_validatorWindow = val.m_validatorWindow; return TRUE; } // Called when the value in the window must be validated.