]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/valtext.h
wxCheckListBox fixes: crash/memory leak when items are dynamically
[wxWidgets.git] / include / wx / valtext.h
index b63fcaf4e231c9ba972faf71156429b02ae3904a..bd2bb8d93b35c186c85e05a06981efc3a37fa844 100644 (file)
@@ -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();