1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxValidator
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart and Markus Holzem
9 // Licence: wxWindows license
10 /////////////////////////////////////////////////////////////////////////////
13 #pragma implementation "validate.h"
16 // For compilers that support precompilation, includes "wx.h".
17 #include "wx/wxprec.h"
30 #include "wx/window.h"
33 #include "wx/validate.h"
35 #if defined(__VISAGECPP__)
36 // treated as a static global class by VA and thus cannot use in this form.
37 // Defined as a pointer and then explicity allocated and deallocated
39 const wxValidator
* wxDefaultValidator
= NULL
;
41 const wxValidator wxDefaultValidator
;
44 #if !USE_SHARED_LIBRARY
45 IMPLEMENT_DYNAMIC_CLASS(wxValidator
, wxEvtHandler
)
48 // VZ: personally, I think TRUE would be more appropriate - these bells are
50 bool wxValidator::ms_isSilent
= FALSE
;
52 wxValidator::wxValidator()
54 m_validatorWindow
= (wxWindow
*) NULL
;
57 wxValidator::~wxValidator()