#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.
*/