]> git.saurik.com Git - wxWidgets.git/blob - src/common/validate.cpp
define wxNO_RTTI/EXCEPTIONS/THREADS if corresponding USE_XXX is set to 0
[wxWidgets.git] / src / common / validate.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: validate.cpp
3 // Purpose: wxValidator
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 04/01/98
7 // RCS-ID: $Id$
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
13 #pragma implementation "validate.h"
14 #endif
15
16 // For compilers that support precompilation, includes "wx.h".
17 #include "wx/wxprec.h"
18
19 #ifdef __BORLANDC__
20 #pragma hdrstop
21 #endif
22
23 #ifndef WX_PRECOMP
24 #include "wx/defs.h"
25 #endif
26
27 #if wxUSE_VALIDATORS
28
29 #ifndef WX_PRECOMP
30 #include "wx/window.h"
31 #endif
32
33 #include "wx/validate.h"
34
35 const wxValidator wxDefaultValidator;
36
37 IMPLEMENT_DYNAMIC_CLASS(wxValidator, wxEvtHandler)
38
39 // VZ: personally, I think true would be more appropriate - these bells are
40 // _annoying_
41 bool wxValidator::ms_isSilent = false;
42
43 wxValidator::wxValidator()
44 {
45 m_validatorWindow = (wxWindow *) NULL;
46 }
47
48 wxValidator::~wxValidator()
49 {
50 }
51
52 #endif
53 // wxUSE_VALIDATORS