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: validate.cpp 39656 2006-06-09 21:21:53Z ABX $ |
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 |
|
27 |
const wxValidator wxDefaultValidator; |
28 |
|
29 |
IMPLEMENT_DYNAMIC_CLASS(wxValidator, wxEvtHandler) |
30 |
|
31 |
// VZ: personally, I think true would be more appropriate - these bells are |
32 |
// _annoying_ |
33 |
bool wxValidator::ms_isSilent = false; |
34 |
|
35 |
wxValidator::wxValidator() |
36 |
{ |
37 |
m_validatorWindow = (wxWindow *) NULL; |
38 |
} |
39 |
|
40 |
wxValidator::~wxValidator() |
41 |
{ |
42 |
} |
43 |
|
44 |
#endif |
45 |
// wxUSE_VALIDATORS |