#ifndef _WX_MGL_CHKCONF_H_
#define _WX_MGL_CHKCONF_H_
+/*
+ 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