X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34138703c3997ce676a1e713d9ff9eb020640da7..fb1585ae85bc09432ae4c1afd805fb4aebf6e0c8:/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.