From: Václav Slavík Date: Thu, 13 May 2010 06:25:33 +0000 (+0000) Subject: Add missing check for wxUSE_FILE_HISTORY existence. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f19f8180a57c5bf6510ce65fadf187cd1ede9e3b 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 --- 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."