]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mgl/chkconf.h
CanAcceptFocus() now returns true if either the window itself or one of its children...
[wxWidgets.git] / include / wx / mgl / chkconf.h
index 643aafdc64b1f17f9e233dc864752c1661bec5a4..85136cfe9996f14b5d14678edb30541a7e97f8de 100644 (file)
 #ifndef _WX_MGL_CHKCONF_H_
 #define _WX_MGL_CHKCONF_H_
 
+#ifndef __WXUNIVERSAL__
+#   error "wxMGL cannot be built without wxUniversal"
+#endif
+
+/* wxPalette is always needed */
+#if !wxUSE_PALETTE
+#   error "wxMGL requires wxUSE_PALETTE=1"
+#endif
+
+/*
+   wxDisplay is not implemented for OS/2, use stub common version instead.
+ */
+#if wxUSE_DISPLAY
+#   undef wxUSE_DISPLAY
+#   define wxUSE_DISPLAY 0
+#endif /* wxUSE_DISPLAY */
+
 #ifdef __WATCOMC__
 
 /* Watcom builds for MGL port are setup.h driven and setup.h is
 #   define wxUSE_FS_INET 0
 #endif /* wxUSE_FS_INET */
 
+#if wxUSE_MS_HTML_HELP
+#   undef wxUSE_MS_HTML_HELP
+#   define wxUSE_MS_HTML_HELP 0
+#endif
+
 #endif /* __WATCOM__ */
 
 #endif /* _WX_MGL_CHKCONF_H_ */