X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34138703c3997ce676a1e713d9ff9eb020640da7..3b90345be1e457f02b96ff7fde2bfc9b8d100de2:/include/wx/valtext.h diff --git a/include/wx/valtext.h b/include/wx/valtext.h index b63fcaf4e2..bd2bb8d93b 100644 --- a/include/wx/valtext.h +++ b/include/wx/valtext.h @@ -30,7 +30,7 @@ class WXDLLEXPORT wxTextValidator: public wxValidator { DECLARE_DYNAMIC_CLASS(wxTextValidator) public: - wxTextValidator(long style = wxFILTER_NONE, wxString *val = NULL); + wxTextValidator(long style = wxFILTER_NONE, wxString *val = (wxString *) NULL); wxTextValidator(const wxTextValidator& val); ~wxTextValidator();