]> git.saurik.com Git - wxWidgets.git/blob - include/wx/x11/chkconf.h
Fixed context menu in wxRichTextCtrl
[wxWidgets.git] / include / wx / x11 / chkconf.h
1 /*
2 * Name: wx/x11/chkconf.h
3 * Purpose: Compiler-specific configuration checking
4 * Author: Julian Smart
5 * Modified by:
6 * Created: 01/02/97
7 * RCS-ID: $Id$
8 * Copyright: (c) Julian Smart
9 * Licence: wxWindows licence
10 */
11
12 /* THIS IS A C FILE, DON'T USE C++ FEATURES (IN PARTICULAR COMMENTS) IN IT */
13
14 #ifndef _WX_X11_CHKCONF_H_
15 #define _WX_X11_CHKCONF_H_
16
17 /* wxPalette is always needed */
18 #if !wxUSE_PALETTE
19 # error "wxX11 requires wxUSE_PALETTE=1"
20 #endif
21
22 #if wxUSE_SOCKETS && !wxUSE_SELECT_DISPATCHER
23 # ifdef wxABORT_ON_CONFIG_ERROR
24 # error "wxSocket requires wxSelectDispatcher in wxX11"
25 # else
26 # undef wxUSE_SELECT_DISPATCHER
27 # define wxUSE_SELECT_DISPATCHER 1
28 # endif
29 #endif
30
31 #endif /* _WX_X11_CHKCONF_H_ */