From f19f8180a57c5bf6510ce65fadf187cd1ede9e3b Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Thu, 13 May 2010 06:25:33 +0000 Subject: [PATCH] Add missing check for wxUSE_FILE_HISTORY existence. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/chkconf.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index a7451822f1..fac9e0e10b 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -121,6 +121,14 @@ # endif #endif /* !defined(wxUSE_EXCEPTIONS) */ +#ifndef wxUSE_FILE_HISTORY +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxUSE_FILE_HISTORY must be defined, please read comment near the top of this file." +# else +# define wxUSE_FILE_HISTORY 0 +# endif +#endif /* !defined(wxUSE_FILE_HISTORY) */ + #ifndef wxUSE_FILESYSTEM # ifdef wxABORT_ON_CONFIG_ERROR # error "wxUSE_FILESYSTEM must be defined, please read comment near the top of this file." -- 2.45.2