]> git.saurik.com Git - wxWidgets.git/blame - src/common/validate.cpp
Add missing WXK constants for the control keys
[wxWidgets.git] / src / common / validate.cpp
CommitLineData
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
7// RCS-ID: $Id$
55d99c7a 8// Copyright: (c) Julian Smart
65571936 9// Licence: wxWindows licence
c801d85f
KB
10/////////////////////////////////////////////////////////////////////////////
11
c801d85f
KB
12// For compilers that support precompilation, includes "wx.h".
13#include "wx/wxprec.h"
14
15#ifdef __BORLANDC__
8898456d 16 #pragma hdrstop
ce4169a4
RR
17#endif
18
19#if wxUSE_VALIDATORS
20
264cb7f5
WS
21#include "wx/validate.h"
22
ce4169a4 23#ifndef WX_PRECOMP
8898456d 24 #include "wx/window.h"
c801d85f
KB
25#endif
26
c801d85f
KB
27const wxValidator wxDefaultValidator;
28
8898456d 29IMPLEMENT_DYNAMIC_CLASS(wxValidator, wxEvtHandler)
c801d85f 30
cab1a605 31// VZ: personally, I think true would be more appropriate - these bells are
a994f81b 32// _annoying_
cab1a605 33bool wxValidator::ms_isSilent = false;
a994f81b
VZ
34
35wxValidator::wxValidator()
c801d85f 36{
d3b9f782 37 m_validatorWindow = NULL;
c801d85f
KB
38}
39
40wxValidator::~wxValidator()
41{
42}
43
ce4169a4
RR
44#endif
45 // wxUSE_VALIDATORS