]> git.saurik.com Git - wxWidgets.git/blob - src/common/validate.cpp
More _T() in asserts...
[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 and Markus Holzem
9 // Licence: wxWindows license
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifdef __GNUG__
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 #if !USE_SHARED_LIBRARY
38 IMPLEMENT_DYNAMIC_CLASS(wxValidator, wxEvtHandler)
39 #endif
40
41 // VZ: personally, I think TRUE would be more appropriate - these bells are
42 // _annoying_
43 bool wxValidator::ms_isSilent = FALSE;
44
45 wxValidator::wxValidator()
46 {
47 m_validatorWindow = (wxWindow *) NULL;
48 }
49
50 wxValidator::~wxValidator()
51 {
52 }
53
54 #endif
55 // wxUSE_VALIDATORS