X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3ab14c038b580a2b91eef31070fed5926dd42e65..d5bfbd9ab85dd7f07f5cb97353bca4963e63202a:/include/wx/mgl/chkconf.h diff --git a/include/wx/mgl/chkconf.h b/include/wx/mgl/chkconf.h index 643aafdc64..b20fb61cae 100644 --- a/include/wx/mgl/chkconf.h +++ b/include/wx/mgl/chkconf.h @@ -14,6 +14,14 @@ #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