X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/88ac883a0d005437c97a60d8195bd5e4719b1154..af01f1ba0d697c07173f436ab661b4c833258a91:/include/wx/valtext.h?ds=sidebyside 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__