]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/common/validate.cpp
wxImage now uses GTK 1.2's fast rendering code if possible
[wxWidgets.git] / src / common / validate.cpp
... / ...
CommitLineData
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/wx.h"
25#endif
26
27#include "wx/validate.h"
28
29const wxValidator wxDefaultValidator;
30
31#if !USE_SHARED_LIBRARY
32 IMPLEMENT_DYNAMIC_CLASS(wxValidator, wxEvtHandler)
33#endif
34
35// VZ: personally, I think TRUE would be more appropriate - these bells are
36// _annoying_
37bool wxValidator::ms_isSilent = FALSE;
38
39wxValidator::wxValidator()
40{
41 m_validatorWindow = (wxWindow *) NULL;
42}
43
44wxValidator::~wxValidator()
45{
46}
47
48