X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/88ac883a0d005437c97a60d8195bd5e4719b1154..ca8a9e603ae553ce8cee7c2aaaab3459dd945013:/include/wx/valtext.h diff --git a/include/wx/valtext.h b/include/wx/valtext.h index 391ed8dfb2..942110e65b 100644 --- a/include/wx/valtext.h +++ b/include/wx/valtext.h @@ -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__