wx/x11/app.h
wx/x11/bitmap.h
wx/x11/brush.h
+ wx/x11/chkconf.h
wx/x11/clipbrd.h
wx/x11/colour.h
wx/x11/cursor.h
# include "wx/mgl/chkconf.h"
#elif defined(__WXMOTIF__)
# include "wx/motif/chkconf.h"
+#elif defined(__WXX11__)
+# include "wx/x11/chkconf.h"
#endif
/*
# endif
#endif /* wxGTK && !wxUniv */
-/* wxMGL-specific dependencies */
-#ifdef __WXMGL__
-# if !wxUSE_PALETTE
-# error "wxMGL requires wxUSE_PALETTE=1"
-# endif
-#endif /* wxMGL */
-
-/* wxX11-specific dependencies */
-#ifdef __WXX11__
-# if !wxUSE_PALETTE
-# error "wxX11 requires wxUSE_PALETTE=1"
-# endif
-#endif /* wxX11 */
-
/* Hopefully we can emulate these dialogs in due course */
#if defined(__SMARTPHONE__) && defined(__WXWINCE__)
# ifdef wxUSE_COLOURDLG
#ifndef _WX_MGL_CHKCONF_H_
#define _WX_MGL_CHKCONF_H_
+
+/* 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.
*/
--- /dev/null
+/*
+ * Name: wx/x11/chkconf.h
+ * Purpose: Compiler-specific configuration checking
+ * Author: Julian Smart
+ * Modified by:
+ * Created: 01/02/97
+ * RCS-ID: $Id$
+ * Copyright: (c) Julian Smart
+ * Licence: wxWindows licence
+ */
+
+/* THIS IS A C FILE, DON'T USE C++ FEATURES (IN PARTICULAR COMMENTS) IN IT */
+
+#ifndef _WX_X11_CHKCONF_H_
+#define _WX_X11_CHKCONF_H_
+
+
+/* wxPalette is always needed */
+#if !wxUSE_PALETTE
+# error "wxX11 requires wxUSE_PALETTE=1"
+#endif
+
+#endif /* _WX_X11_CHKCONF_H_ */