# endif
#endif /* !defined(wxUSE_BUTTON) */
-/*
- This one is special, it's only used under wxGTK currently so don't require
- pre-defining it.
- */
#ifndef wxUSE_CAIRO
-# ifdef __WXGTK210__
-# define wxUSE_CAIRO 1
-# else
-# define wxUSE_CAIRO 0
-# endif
-#endif
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "wxUSE_CAIRO must be defined, please read comment near the top of this file."
+# else
+# define wxUSE_CAIRO 0
+# endif
+#endif /* !defined(wxUSE_CAIRO) */
#ifndef wxUSE_CALENDARCTRL
# ifdef wxABORT_ON_CONFIG_ERROR
# endif
#endif /* !defined(wxUSE_RIBBON) */
+#ifndef wxUSE_RICHMSGDLG
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "wxUSE_RICHMSGDLG must be defined, please read comment near the top of this file."
+# else
+# define wxUSE_RICHMSGDLG 0
+# endif
+#endif /* !defined(wxUSE_RIBBON) */
+
#ifndef wxUSE_SASH
# ifdef wxABORT_ON_CONFIG_ERROR
# error "wxUSE_SASH must be defined, please read comment near the top of this file."
# endif
#endif /* wxUSE_REARRANGECTRL */
+#if wxUSE_RICHMSGDLG
+# if !wxUSE_MSGDLG
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "wxUSE_RICHMSGDLG requires wxUSE_MSGDLG"
+# else
+# undef wxUSE_MSGDLG
+# define wxUSE_MSGDLG 1
+# endif
+# endif
+#endif /* wxUSE_RICHMSGDLG */
+
/* don't attempt to use native status bar on the platforms not having it */
#ifndef wxUSE_NATIVE_STATUSBAR
# define wxUSE_NATIVE_STATUSBAR 0