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