]> git.saurik.com Git - wxWidgets.git/blame - src/common/validate.cpp
wxWindow::Fit() infinite loop bug fixed
[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__
a994f81b 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__
a994f81b 20 #pragma hdrstop
c801d85f
KB
21#endif
22
23#ifndef WX_PRECOMP
a994f81b 24 #include "wx/wx.h"
c801d85f
KB
25#endif
26
27#include "wx/validate.h"
28
29const wxValidator wxDefaultValidator;
30
31#if !USE_SHARED_LIBRARY
a994f81b 32 IMPLEMENT_DYNAMIC_CLASS(wxValidator, wxEvtHandler)
c801d85f
KB
33#endif
34
a994f81b
VZ
35// VZ: personally, I think TRUE would be more appropriate - these bells are
36// _annoying_
37bool wxValidator::ms_isSilent = FALSE;
38
39wxValidator::wxValidator()
c801d85f 40{
c67daf87 41 m_validatorWindow = (wxWindow *) NULL;
c801d85f
KB
42}
43
44wxValidator::~wxValidator()
45{
46}
47
48