X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d65e9d5707e2e80127ef85927d191c4911169f13..2a45803fc3877afd0ae3ce356dfe216505165882:/include/wx/validate.h diff --git a/include/wx/validate.h b/include/wx/validate.h index 27473364bc..e79a3becb5 100644 --- a/include/wx/validate.h +++ b/include/wx/validate.h @@ -37,6 +37,11 @@ class WXDLLIMPEXP_CORE wxValidator : public wxEvtHandler { public: wxValidator(); + wxValidator(const wxValidator& other) + : wxEvtHandler() + , m_validatorWindow(other.m_validatorWindow) + { + } virtual ~wxValidator(); // Make a clone of this validator (or return NULL) - currently necessary @@ -87,7 +92,7 @@ private: 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;