wxMessageBox off the main thread lost result code.
[wxWidgets.git] / include / wx / dfb / chkconf.h
1 /*
2 * Name: wx/dfb/chkconf.h
3 * Author: Vaclav Slavik
4 * Purpose: Compiler-specific configuration checking
5 * Created: 2006-08-10
6 * Copyright: (c) 2006 REA Elektronik GmbH
7 * Licence: wxWindows licence
8 */
9
10 /* THIS IS A C FILE, DON'T USE C++ FEATURES (IN PARTICULAR COMMENTS) IN IT */
11
12 #ifndef _WX_DFB_CHKCONF_H_
13 #define _WX_DFB_CHKCONF_H_
14
15 #ifndef __WXUNIVERSAL__
16 # error "wxDirectFB cannot be built without wxUniversal"
17 #endif
18
19 #if !wxUSE_CONFIG
20 # error "wxFileConfig is required by wxDFB port"
21 #endif
22
23 #if wxUSE_SOCKETS && !wxUSE_CONSOLE_EVENTLOOP
24 # ifdef wxABORT_ON_CONFIG_ERROR
25 # error "wxSocket requires wxSelectDispatcher in wxDFB"
26 # else
27 # undef wxUSE_CONSOLE_EVENTLOOP
28 # define wxUSE_CONSOLE_EVENTLOOP 1
29 # endif
30 #endif
31
32 #if wxUSE_DATAOBJ
33 # ifdef wxABORT_ON_CONFIG_ERROR
34 # error "wxDataObject not supported in wxDFB"
35 # else
36 # undef wxUSE_DATAOBJ
37 # define wxUSE_DATAOBJ 0
38 # endif
39 #endif
40
41 #endif /* _WX_DFB_CHKCONF_H_ */