]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/validate.h
changed wxImage::Rescale() to return wxImage& and not void
[wxWidgets.git] / include / wx / validate.h
index 31cb7a014c7992af69bc3fe3b636bb60c6ef21ce..25a4c5894aa06ea27dc58c1a70b5cff13ee2f13b 100644 (file)
 
 #include "wx/event.h"
 
+#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;
 class WXDLLEXPORT wxWindowBase;
 
@@ -78,5 +84,7 @@ private:
 
 WXDLLEXPORT_DATA(extern const wxValidator) wxDefaultValidator;
 
+#endif // wxUSE_VALIDATORS
+
 #endif
     // _WX_VALIDATEH__