]> git.saurik.com Git - wxWidgets.git/blob - include/wx/x11/chkconf.h
Add wxDEPRECATED_MSG() and use it in a couple of places.
[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 * 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_X11_CHKCONF_H_
14 #define _WX_X11_CHKCONF_H_
15
16 /* wxPalette is always needed */
17 #if !wxUSE_PALETTE
18 # error "wxX11 requires wxUSE_PALETTE=1"
19 #endif
20
21 #if wxUSE_SOCKETS && !wxUSE_SELECT_DISPATCHER
22 # ifdef wxABORT_ON_CONFIG_ERROR
23 # error "wxSocket requires wxSelectDispatcher in wxX11"
24 # else
25 # undef wxUSE_SELECT_DISPATCHER
26 # define wxUSE_SELECT_DISPATCHER 1
27 # endif
28 #endif
29
30 #endif /* _WX_X11_CHKCONF_H_ */