]> git.saurik.com Git - wxWidgets.git/blame - src/common/validate.cpp
wxSetlocale() doesn't always return NULL
[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__
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
37#if !USE_SHARED_LIBRARY
a994f81b 38 IMPLEMENT_DYNAMIC_CLASS(wxValidator, wxEvtHandler)
c801d85f
KB
39#endif
40
a994f81b
VZ
41// VZ: personally, I think TRUE would be more appropriate - these bells are
42// _annoying_
43bool wxValidator::ms_isSilent = FALSE;
44
45wxValidator::wxValidator()
c801d85f 46{
c67daf87 47 m_validatorWindow = (wxWindow *) NULL;
c801d85f
KB
48}
49
50wxValidator::~wxValidator()
51{
52}
53
ce4169a4
RR
54#endif
55 // wxUSE_VALIDATORS