added #if USE_WXCONFIG check (TODO: add configure switch for it)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 1998-06-02 13:23:24 +00:00
parent b0cf2597e2
commit cd71293400
2 changed files with 21 additions and 2 deletions

View File

@ -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
// ----------------------------------------------------------------------------

View File

@ -16,6 +16,15 @@
#ifndef _FILECONF_H
#define _FILECONF_H
// ----------------------------------------------------------------------------
// compile options
// ----------------------------------------------------------------------------
// it won't compile without it anyhow
#ifndef USE_WXCONFIG
#error "Please define USE_WXCONFIG or remove fileconf.cpp from your makefile"
#endif // USE_WXCONFIG
// ----------------------------------------------------------------------------
// wxFileConfig
// ----------------------------------------------------------------------------