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:
@@ -1,6 +1,7 @@
|
|||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
// Name:
|
// Name: config.h
|
||||||
// Purpose:
|
// Purpose: declaration of the base class of all config implementations
|
||||||
|
// (see also: fileconf.h and msw/regconf.h)
|
||||||
// Author: Karsten Ball<6C>der & Vadim Zeitlin
|
// Author: Karsten Ball<6C>der & Vadim Zeitlin
|
||||||
// Modified by:
|
// Modified by:
|
||||||
// Created: 07.04.98 (adapted from appconf.h)
|
// Created: 07.04.98 (adapted from appconf.h)
|
||||||
@@ -13,6 +14,15 @@
|
|||||||
#ifndef _APPCONF_H
|
#ifndef _APPCONF_H
|
||||||
#define _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
|
// constants
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -16,6 +16,15 @@
|
|||||||
#ifndef _FILECONF_H
|
#ifndef _FILECONF_H
|
||||||
#define _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
|
// wxFileConfig
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user