X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cb7d73757f9e8771e7d8fc6b22f1acf27aac35bd..ee19674c9f03aec361a86ccba39adc72baede491:/include/wx/os2/chkconf.h diff --git a/include/wx/os2/chkconf.h b/include/wx/os2/chkconf.h index ea0ac4db7a..ef8d72b1ea 100644 --- a/include/wx/os2/chkconf.h +++ b/include/wx/os2/chkconf.h @@ -14,12 +14,19 @@ #ifndef _WX_OS2_CHKCONF_H_ #define _WX_OS2_CHKCONF_H_ -#ifdef __WATCOMC__ +/* + 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 */ /* Watcom builds for OS/2 port are setup.h driven and setup.h is automatically generated from include/wx/setup_inc.h so we have to disable here features not supported currently or enable features required */ +#ifdef __WATCOMC__ #if wxUSE_STACKWALKER # undef wxUSE_STACKWALKER