]> git.saurik.com Git - wxWidgets.git/blame - src/common/validate.cpp
[wxGTK2] Check if a family wasn't found for the description in GetFamily()
[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
14f355c2 12#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
ce4169a4 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__
ce4169a4 20 #pragma hdrstop
c801d85f
KB
21#endif
22
23#ifndef WX_PRECOMP
ce4169a4
RR
24 #include "wx/defs.h"
25#endif
26
27#if wxUSE_VALIDATORS
28
29#ifndef WX_PRECOMP
30 #include "wx/window.h"
c801d85f
KB
31#endif
32
33#include "wx/validate.h"
34
35const wxValidator wxDefaultValidator;
36
a994f81b 37 IMPLEMENT_DYNAMIC_CLASS(wxValidator, wxEvtHandler)
c801d85f 38
cab1a605 39// VZ: personally, I think true would be more appropriate - these bells are
a994f81b 40// _annoying_
cab1a605 41bool wxValidator::ms_isSilent = false;
a994f81b
VZ
42
43wxValidator::wxValidator()
c801d85f 44{
c67daf87 45 m_validatorWindow = (wxWindow *) NULL;
c801d85f
KB
46}
47
48wxValidator::~wxValidator()
49{
50}
51
ce4169a4
RR
52#endif
53 // wxUSE_VALIDATORS