Corrected border drawing to avoid clipping
[wxWidgets.git] / src / common / validate.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/common/validate.cpp
3 // Purpose: wxValidator
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 04/01/98
7 // Copyright: (c) Julian Smart
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
10
11 // For compilers that support precompilation, includes "wx.h".
12 #include "wx/wxprec.h"
13
14 #ifdef __BORLANDC__
15 #pragma hdrstop
16 #endif
17
18 #if wxUSE_VALIDATORS
19
20 #include "wx/validate.h"
21
22 #ifndef WX_PRECOMP
23 #include "wx/window.h"
24 #endif
25
26 const wxValidator wxDefaultValidator;
27
28 IMPLEMENT_DYNAMIC_CLASS(wxValidator, wxEvtHandler)
29
30 // VZ: personally, I think true would be more appropriate - these bells are
31 // _annoying_
32 bool wxValidator::ms_isSilent = false;
33
34 wxValidator::wxValidator()
35 {
36 m_validatorWindow = NULL;
37 }
38
39 wxValidator::~wxValidator()
40 {
41 }
42
43 #endif
44 // wxUSE_VALIDATORS