]> git.saurik.com Git - wxWidgets.git/commitdiff
Add missing check for wxUSE_FILE_HISTORY existence.
authorVáclav Slavík <vslavik@fastmail.fm>
Thu, 13 May 2010 06:25:33 +0000 (06:25 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Thu, 13 May 2010 06:25:33 +0000 (06:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/chkconf.h

index a7451822f1e3b1b5c4c91d73bd7a994f80b07bf6..fac9e0e10ba3030a70c739a5de62683beffd5e74 100644 (file)
 #   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."