X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/88ac883a0d005437c97a60d8195bd5e4719b1154..8366ae934aab9f835747b0c2e456231e8795fe78:/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__