X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/855e92a8d9c1a389c09b7afd88dcc16fd4f055f9..1311c7a9bbaefda6b68eee5c32c3309f163a8861:/include/wx/config.h diff --git a/include/wx/config.h b/include/wx/config.h index 07ddc77804..2f1a93cfe4 100644 --- a/include/wx/config.h +++ b/include/wx/config.h @@ -1,6 +1,7 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: -// Purpose: +// Name: config.h +// Purpose: declaration of the base class of all config implementations +// (see also: fileconf.h and msw/regconf.h) // Author: Karsten Ballüder & Vadim Zeitlin // Modified by: // Created: 07.04.98 (adapted from appconf.h) @@ -13,6 +14,15 @@ #ifndef _APPCONF_H #define _APPCONF_H +// ---------------------------------------------------------------------------- +// compile options +// ---------------------------------------------------------------------------- + +// it won't compile without it anyhow +#ifndef USE_WXCONFIG + #error "Please define USE_WXCONFIG or remove config.cpp from your makefile" +#endif // USE_WXCONFIG + // ---------------------------------------------------------------------------- // constants // ----------------------------------------------------------------------------