]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/valtext.h
wxMotif::wxFont supports encodings too (and shares 99% of font code with wxGTK)
[wxWidgets.git] / include / wx / valtext.h
index 391ed8dfb2f1a2e1653e99e2872019a047f08129..942110e65baa20568fed985b09c23fa237d2ab46 100644 (file)
@@ -16,9 +16,9 @@
 #pragma interface "valtext.h"
 #endif
 
-#if defined(wxUSE_VALIDATORS) && !wxUSE_VALIDATORS
-    #error "wxWindows is compiled without support for wxValidator"
-#endif
+#include "wx/defs.h"
+
+#if wxUSE_VALIDATORS
 
 #include "wx/validate.h"
 
@@ -79,3 +79,7 @@ protected:
 };
 
 #endif
+  // wxUSE_VALIDATORS
+
+#endif
+  // _WX_VALTEXTH__