]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/common/validate.cpp
Add a helper wxApp::GetValidTraits() method.
[wxWidgets.git] / src / common / validate.cpp
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: src/common/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// For compilers that support precompilation, includes "wx.h".
13#include "wx/wxprec.h"
14
15#ifdef __BORLANDC__
16 #pragma hdrstop
17#endif
18
19#if wxUSE_VALIDATORS
20
21#include "wx/validate.h"
22
23#ifndef WX_PRECOMP
24 #include "wx/window.h"
25#endif
26
27const wxValidator wxDefaultValidator;
28
29IMPLEMENT_DYNAMIC_CLASS(wxValidator, wxEvtHandler)
30
31// VZ: personally, I think true would be more appropriate - these bells are
32// _annoying_
33bool wxValidator::ms_isSilent = false;
34
35wxValidator::wxValidator()
36{
37 m_validatorWindow = NULL;
38}
39
40wxValidator::~wxValidator()
41{
42}
43
44#endif
45 // wxUSE_VALIDATORS