+#endif
+ wxArrayString m_includes;
+ wxArrayString m_excludes;
+
+ bool CheckValidator() const
+ {
+ wxCHECK_MSG( m_validatorWindow, false,
+ _T("No window associated with validator") );
+ wxCHECK_MSG( m_validatorWindow->IsKindOf(CLASSINFO(wxTextCtrl)), false,
+ _T("wxTextValidator is only for wxTextCtrl's") );
+
+ return true;
+ }
+
+private:
+// Cannot use
+// DECLARE_NO_COPY_CLASS(wxTextValidator)
+// because copy constructor is explicitly declared above;
+// but no copy assignment operator is defined, so declare
+// it private to prevent the compiler from defining it:
+ wxTextValidator& operator=(const wxTextValidator&);