It can be useful for implementing Clone() in the derived classes.
Closes #2146.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73403 
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
 {
 public:
     wxValidator();
+    wxValidator(const wxValidator& other)
+        : m_validatorWindow(other.m_validatorWindow)
+    {
+    }
     virtual ~wxValidator();
 
     // Make a clone of this validator (or return NULL) - currently necessary
     static bool ms_isSilent;
 
     DECLARE_DYNAMIC_CLASS(wxValidator)
-    wxDECLARE_NO_COPY_CLASS(wxValidator);
+    wxDECLARE_NO_ASSIGN_CLASS(wxValidator);
 };
 
 extern WXDLLIMPEXP_DATA_CORE(const wxValidator) wxDefaultValidator;