]> git.saurik.com Git - wxWidgets.git/blame - src/common/validate.cpp
new HTML tags parser and entities substitution code
[wxWidgets.git] / src / common / validate.cpp
CommitLineData
c801d85f
KB
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
a994f81b 9// Licence: wxWindows license
c801d85f
KB
10/////////////////////////////////////////////////////////////////////////////
11
12#ifdef __GNUG__
ce4169a4 13#pragma implementation "validate.h"
c801d85f
KB
14#endif
15
16// For compilers that support precompilation, includes "wx.h".
17#include "wx/wxprec.h"
18
19#ifdef __BORLANDC__
ce4169a4 20 #pragma hdrstop
c801d85f
KB
21#endif
22
23#ifndef WX_PRECOMP
ce4169a4
RR
24 #include "wx/defs.h"
25#endif
26
27#if wxUSE_VALIDATORS
28
29#ifndef WX_PRECOMP
30 #include "wx/window.h"
c801d85f
KB
31#endif
32
33#include "wx/validate.h"
34
35const wxValidator wxDefaultValidator;
36
a994f81b 37 IMPLEMENT_DYNAMIC_CLASS(wxValidator, wxEvtHandler)
c801d85f 38
a994f81b
VZ
39// VZ: personally, I think TRUE would be more appropriate - these bells are
40// _annoying_
41bool wxValidator::ms_isSilent = FALSE;
42
43wxValidator::wxValidator()
c801d85f 44{
c67daf87 45 m_validatorWindow = (wxWindow *) NULL;
c801d85f
KB
46}
47
48wxValidator::~wxValidator()
49{
50}
51
ce4169a4
RR
52#endif
53 // wxUSE_VALIDATORS