+#if defined(wxUSE_VALIDATORS) && !wxUSE_VALIDATORS
+ // wxWindows is compiled without support for wxValidator
+ class WXDLLEXPORT wxValidator;
+ #define wxDefaultValidator (*((wxValidator *)NULL))
+#else // wxUSE_VALIDATORS
+
+class WXDLLEXPORT wxWindow;