]> git.saurik.com Git - wxWidgets.git/blob - include/wx/os2/chkconf.h
wxMessageBox off the main thread lost result code.
[wxWidgets.git] / include / wx / os2 / chkconf.h
1 /*
2 * Name: wx/os2/chkconf.h
3 * Purpose: Compiler-specific configuration checking
4 * Author: Julian Smart
5 * Modified by:
6 * Created: 01/02/97
7 * Copyright: (c) Julian Smart
8 * Licence: wxWindows licence
9 */
10
11 /* THIS IS A C FILE, DON'T USE C++ FEATURES (IN PARTICULAR COMMENTS) IN IT */
12
13 #ifndef _WX_OS2_CHKCONF_H_
14 #define _WX_OS2_CHKCONF_H_
15
16 /*
17 wxDisplay is not implemented for OS/2, use stub common version instead.
18 */
19 #if wxUSE_DISPLAY
20 # undef wxUSE_DISPLAY
21 # define wxUSE_DISPLAY 0
22 #endif /* wxUSE_DISPLAY */
23
24 /* Watcom builds for OS/2 port are setup.h driven and setup.h is
25 automatically generated from include/wx/setup_inc.h so we have
26 to disable here features not supported currently or enable
27 features required */
28 #ifdef __WATCOMC__
29
30 #if wxUSE_STACKWALKER
31 # undef wxUSE_STACKWALKER
32 # define wxUSE_STACKWALKER 0
33 #endif /* wxUSE_STACKWALKER */
34
35 #if !wxUSE_POSTSCRIPT
36 # undef wxUSE_POSTSCRIPT
37 # define wxUSE_POSTSCRIPT 1
38 #endif
39
40 #if wxUSE_MS_HTML_HELP
41 # undef wxUSE_MS_HTML_HELP
42 # define wxUSE_MS_HTML_HELP 0
43 #endif
44
45 #endif /* __WATCOM__ */
46
47 #endif /* _WX_OS2_CHKCONF_H_ */