// Author: Julian Smart
// Modified by:
// Created: 29/01/98
-// RCS-ID: $Id$
// Copyright: (c) 1998 Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
{
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
// unnaturally: it disabled the bell when it was true, not false as could
// be expected; use SuppressBellOnError() instead
#if WXWIN_COMPATIBILITY_2_8
- wxDEPRECATED_INLINE(
- static void SetBellOnError(bool doIt = true),
+ static wxDEPRECATED_INLINE(
+ void SetBellOnError(bool doIt = true),
ms_isSilent = doIt;
)
#endif
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;