]> git.saurik.com Git - wxWidgets.git/blame - src/common/validate.cpp
Added wxDataViewSortedListModel, which doesn't work
[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$
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__
ce4169a4 16 #pragma hdrstop
c801d85f
KB
17#endif
18
19#ifndef WX_PRECOMP
ce4169a4
RR
20 #include "wx/defs.h"
21#endif
22
23#if wxUSE_VALIDATORS
24
25#ifndef WX_PRECOMP
26 #include "wx/window.h"
c801d85f
KB
27#endif
28
29#include "wx/validate.h"
30
31const wxValidator wxDefaultValidator;
32
a994f81b 33 IMPLEMENT_DYNAMIC_CLASS(wxValidator, wxEvtHandler)
c801d85f 34
cab1a605 35// VZ: personally, I think true would be more appropriate - these bells are
a994f81b 36// _annoying_
cab1a605 37bool wxValidator::ms_isSilent = false;
a994f81b
VZ
38
39wxValidator::wxValidator()
c801d85f 40{
c67daf87 41 m_validatorWindow = (wxWindow *) NULL;
c801d85f
KB
42}
43
44wxValidator::~wxValidator()
45{
46}
47
ce4169a4
RR
48#endif
49 // wxUSE_VALIDATORS