X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34138703c3997ce676a1e713d9ff9eb020640da7..8ffd43c56b793781fde046aa532340b92a0067eb:/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();