]> git.saurik.com Git - wxWidgets.git/blob - src/common/validate.cpp
Added slightly better font dialog for Mac
[wxWidgets.git] / src / common / validate.cpp
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
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 #ifndef WX_PRECOMP
20   #include "wx/defs.h"
21 #endif
22
23 #if wxUSE_VALIDATORS
24
25 #ifndef WX_PRECOMP
26   #include "wx/window.h"
27 #endif
28
29 #include "wx/validate.h"
30
31 const wxValidator wxDefaultValidator;
32
33     IMPLEMENT_DYNAMIC_CLASS(wxValidator, wxEvtHandler)
34
35 // VZ: personally, I think true would be more appropriate - these bells are
36 //     _annoying_
37 bool wxValidator::ms_isSilent = false;
38
39 wxValidator::wxValidator()
40 {
41   m_validatorWindow = (wxWindow *) NULL;
42 }
43
44 wxValidator::~wxValidator()
45 {
46 }
47
48 #endif
49   // wxUSE_VALIDATORS